Generated by TestNG with ReportNG at 22:16 PDT on Monday 13 September 2021
root@b2c2a8eba6e6 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.089s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2021-09-13 22:31:34 |

2021-09-13 22:31:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:34 | ------------------------------------

2021-09-13 22:31:34 | [Mutex] waiting for: [configured:node:node-2027ec35-daba-4b5b-b4d8-66446ebb5411:node-a6b4c641-d11c-44fd-821b-54fd848e0b28]

2021-09-13 22:31:34 | [Mutex] received everything.

2021-09-13 22:31:34 | [Mutex] isItemNotified: configured:node:node-2027ec35-daba-4b5b-b4d8-66446ebb5411:node-a6b4c641-d11c-44fd-821b-54fd848e0b28 :: true

2021-09-13 22:31:35 | [Mutex] waiting for: [received:nodes:eed45a68-adf5-4448-baf3-209539c5e564:localhost]

2021-09-13 22:31:35 | [Mutex] received everything.

2021-09-13 22:31:35 | [Mutex] isItemNotified: received:node:eed45a68-adf5-4448-baf3-209539c5e564:localhost:node-2027ec35-daba-4b5b-b4d8-66446ebb5411:Node 2027ec35-daba-4b5b-b4d8-66446ebb5411 :: true

2021-09-13 22:31:35 | [Mutex] waiting for: [received:nodes:22e1f6c3-6d21-41ad-a34d-6d22437dd2a1:localhost]

2021-09-13 22:31:35 | [Mutex] waiting for: [received:nodes:22e1f6c3-6d21-41ad-a34d-6d22437dd2a1:localhost]

2021-09-13 22:31:35 | [Mutex] received everything.

2021-09-13 22:31:35 | [Mutex] isItemNotified: received:node:22e1f6c3-6d21-41ad-a34d-6d22437dd2a1:localhost:node-2027ec35-daba-4b5b-b4d8-66446ebb5411:Node 2027ec35-daba-4b5b-b4d8-66446ebb5411 :: false

createNodes 1.486s
2021-09-13 22:31:31 |

2021-09-13 22:31:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:31 | ------------------------------------

2021-09-13 22:31:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2027ec35-daba-4b5b-b4d8-66446ebb5411</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2027ec35-daba-4b5b-b4d8-66446ebb5411</title></pubsub></data>

2021-09-13 22:31:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-13 22:31:33 | [Mutex] waiting for: [received:nodes:a2b8e742-ce88-4ef0-8eb8-0cc7745a1328:localhost]

2021-09-13 22:31:33 | [Mutex] received everything.

2021-09-13 22:31:33 | [Mutex] isItemNotified: received:node:a2b8e742-ce88-4ef0-8eb8-0cc7745a1328:localhost:node-2027ec35-daba-4b5b-b4d8-66446ebb5411:Node 2027ec35-daba-4b5b-b4d8-66446ebb5411 :: true

createSubnodes 1.032s
2021-09-13 22:31:33 |

2021-09-13 22:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:33 | ------------------------------------

2021-09-13 22:31:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a6b4c641-d11c-44fd-821b-54fd848e0b28</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a6b4c641-d11c-44fd-821b-54fd848e0b28</title></pubsub></data>

2021-09-13 22:31:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-13 22:31:34 | [Mutex] waiting for: [received:nodes:72d0280e-3d24-4712-9e4c-8e207f9297df:localhost]

2021-09-13 22:31:34 | [Mutex] waiting for: [received:nodes:72d0280e-3d24-4712-9e4c-8e207f9297df:localhost]

2021-09-13 22:31:34 | [Mutex] received everything.

2021-09-13 22:31:34 | [Mutex] isItemNotified: received:node:72d0280e-3d24-4712-9e4c-8e207f9297df:localhost:node-a6b4c641-d11c-44fd-821b-54fd848e0b28:Node a6b4c641-d11c-44fd-821b-54fd848e0b28 :: true

deleteNodes 1.019s
2021-09-13 22:31:39 |

2021-09-13 22:31:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:39 | ------------------------------------

2021-09-13 22:31:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a6b4c641-d11c-44fd-821b-54fd848e0b28</node></data>

2021-09-13 22:31:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-13 22:31:40 | [Mutex] waiting for: [received:nodes:23db0a39-fc06-47ed-9995-487a8f248c3b:localhost]

2021-09-13 22:31:40 | [Mutex] received everything.

2021-09-13 22:31:40 | [Mutex] isItemNotified: received:node:23db0a39-fc06-47ed-9995-487a8f248c3b:localhost:node-a6b4c641-d11c-44fd-821b-54fd848e0b28:Node a6b4c641-d11c-44fd-821b-54fd848e0b28 :: false

deleteSubnodes 1.143s
2021-09-13 22:31:38 |

2021-09-13 22:31:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:38 | ------------------------------------

2021-09-13 22:31:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2027ec35-daba-4b5b-b4d8-66446ebb5411</node></data>

2021-09-13 22:31:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-13 22:31:39 | [Mutex] waiting for: [received:nodes:a58dfab9-252e-4baf-830b-e4766ea7893f:localhost]

2021-09-13 22:31:39 | [Mutex] received everything.

2021-09-13 22:31:39 | [Mutex] isItemNotified: received:node:a58dfab9-252e-4baf-830b-e4766ea7893f:localhost:node-2027ec35-daba-4b5b-b4d8-66446ebb5411:Node 2027ec35-daba-4b5b-b4d8-66446ebb5411 :: false

2021-09-13 22:31:39 | [Mutex] waiting for: [received:nodes:b21d9650-e630-44b9-ae05-bcbc34f84505:localhost]

2021-09-13 22:31:39 | [Mutex] received everything.

2021-09-13 22:31:39 | [Mutex] isItemNotified: received:node:b21d9650-e630-44b9-ae05-bcbc34f84505:localhost:node-2027ec35-daba-4b5b-b4d8-66446ebb5411:Node 2027ec35-daba-4b5b-b4d8-66446ebb5411 :: false

publishItemsToNodes 0.243s
2021-09-13 22:31:36 |

2021-09-13 22:31:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:36 | ------------------------------------

2021-09-13 22:31:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2027ec35-daba-4b5b-b4d8-66446ebb5411</node><item-id>item-f08277ba-1970-48b1-9f94-0c41915ca46a</item-id><entry><test>item-f08277ba-1970-48b1-9f94-0c41915ca46a</test></entry></data>

2021-09-13 22:31:36 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-f08277ba-1970-48b1-9f94-0c41915ca46a</value></item-id></result>

2021-09-13 22:31:36 | [Mutex] received everything.

2021-09-13 22:31:36 | [Mutex] isItemNotified: published:item:notifieditem-f08277ba-1970-48b1-9f94-0c41915ca46a:admin@test-domain.com :: true

retractItemsFromNodes 0.242s
2021-09-13 22:31:37 |

2021-09-13 22:31:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:37 | ------------------------------------

2021-09-13 22:31:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2027ec35-daba-4b5b-b4d8-66446ebb5411</node><item-id>item-f08277ba-1970-48b1-9f94-0c41915ca46a</item-id></data>

2021-09-13 22:31:37 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-f08277ba-1970-48b1-9f94-0c41915ca46a</value></item-id></result>

2021-09-13 22:31:37 | [Mutex] received everything.

2021-09-13 22:31:37 | [Mutex] isItemNotified: retracted:item:notifieditem-f08277ba-1970-48b1-9f94-0c41915ca46a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.378s
2021-09-13 22:31:36 |

2021-09-13 22:31:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:36 | ------------------------------------

2021-09-13 22:31:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2027ec35-daba-4b5b-b4d8-66446ebb5411</node><item-id>item-f08277ba-1970-48b1-9f94-0c41915ca46a</item-id></data>

2021-09-13 22:31:36 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-2027ec35-daba-4b5b-b4d8-66446ebb5411</value></node><item-id type="text-single" label="Item ID"><value>item-f08277ba-1970-48b1-9f94-0c41915ca46a</value></item-id><item type="text-multi" label="Item"><value><item id="item-f08277ba-1970-48b1-9f94-0c41915ca46a"><test>item-f08277ba-1970-48b1-9f94-0c41915ca46a</test></item></value></item></result>

2021-09-13 22:31:36 | [Mutex] notify: [retrieved:item:item-f08277ba-1970-48b1-9f94-0c41915ca46a:payload-matches:true:localhost]

2021-09-13 22:31:36 | [Mutex] received everything.

2021-09-13 22:31:36 | [Mutex] isItemNotified: retrieved:item:item-f08277ba-1970-48b1-9f94-0c41915ca46a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-09-13 22:31:36 |

2021-09-13 22:31:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:36 | ------------------------------------

2021-09-13 22:31:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-13 22:31:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-2027ec35-daba-4b5b-b4d8-66446ebb5411</value><value>node-a6b4c641-d11c-44fd-821b-54fd848e0b28</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-09-13 22:31:36 |

2021-09-13 22:31:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:36 | ------------------------------------

2021-09-13 22:31:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2027ec35-daba-4b5b-b4d8-66446ebb5411)</node-pattern></data>

2021-09-13 22:31:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.117s
2021-09-13 22:31:35 |

2021-09-13 22:31:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:35 | ------------------------------------

2021-09-13 22:31:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2027ec35-daba-4b5b-b4d8-66446ebb5411</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-13 22:31:35 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.343s
2021-09-13 22:31:37 |

2021-09-13 22:31:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-13 22:31:37 | ------------------------------------

2021-09-13 22:31:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2027ec35-daba-4b5b-b4d8-66446ebb5411</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-13 22:31:37 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>