Generated by TestNG with ReportNG at 21:44 PST on Thursday 18 February 2021
root@eaa73862192b / 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 : 9.824s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2021-02-18 22:00:01 |

2021-02-18 22:00:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:01 | ------------------------------------

2021-02-18 22:00:01 | [Mutex] waiting for: [configured:node:node-88855aba-3ce4-4017-b0d4-af933bad28d5:node-b5cecf0f-17a1-4494-9828-1bc09cb23db0]

2021-02-18 22:00:01 | [Mutex] received everything.

2021-02-18 22:00:01 | [Mutex] isItemNotified: configured:node:node-88855aba-3ce4-4017-b0d4-af933bad28d5:node-b5cecf0f-17a1-4494-9828-1bc09cb23db0 :: true

2021-02-18 22:00:02 | [Mutex] waiting for: [received:nodes:4ce0cd92-1432-4ded-a9ed-640f3ed365b3:localhost]

2021-02-18 22:00:02 | [Mutex] waiting for: [received:nodes:4ce0cd92-1432-4ded-a9ed-640f3ed365b3:localhost]

2021-02-18 22:00:02 | [Mutex] received everything.

2021-02-18 22:00:02 | [Mutex] isItemNotified: received:node:4ce0cd92-1432-4ded-a9ed-640f3ed365b3:localhost:node-88855aba-3ce4-4017-b0d4-af933bad28d5:Node 88855aba-3ce4-4017-b0d4-af933bad28d5 :: true

2021-02-18 22:00:02 | [Mutex] waiting for: [received:nodes:fd09499a-6e60-4958-8101-aaa35c20e8cb:localhost]

2021-02-18 22:00:02 | [Mutex] received everything.

2021-02-18 22:00:02 | [Mutex] isItemNotified: received:node:fd09499a-6e60-4958-8101-aaa35c20e8cb:localhost:node-88855aba-3ce4-4017-b0d4-af933bad28d5:Node 88855aba-3ce4-4017-b0d4-af933bad28d5 :: false

createNodes 1.485s
2021-02-18 21:59:58 |

2021-02-18 21:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:59:58 | ------------------------------------

2021-02-18 21:59:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-88855aba-3ce4-4017-b0d4-af933bad28d5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 88855aba-3ce4-4017-b0d4-af933bad28d5</title></pubsub></data>

2021-02-18 21:59:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 22:00:00 | [Mutex] waiting for: [received:nodes:542cd4b2-da63-46a2-abdf-2110911f05ab:localhost]

2021-02-18 22:00:00 | [Mutex] received everything.

2021-02-18 22:00:00 | [Mutex] isItemNotified: received:node:542cd4b2-da63-46a2-abdf-2110911f05ab:localhost:node-88855aba-3ce4-4017-b0d4-af933bad28d5:Node 88855aba-3ce4-4017-b0d4-af933bad28d5 :: true

createSubnodes 1.022s
2021-02-18 22:00:00 |

2021-02-18 22:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:00 | ------------------------------------

2021-02-18 22:00:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b5cecf0f-17a1-4494-9828-1bc09cb23db0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b5cecf0f-17a1-4494-9828-1bc09cb23db0</title></pubsub></data>

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

2021-02-18 22:00:01 | [Mutex] waiting for: [received:nodes:2f6cf5a3-c88d-4115-bbac-096c0ad0b64c:localhost]

2021-02-18 22:00:01 | [Mutex] waiting for: [received:nodes:2f6cf5a3-c88d-4115-bbac-096c0ad0b64c:localhost]

2021-02-18 22:00:01 | [Mutex] received everything.

2021-02-18 22:00:01 | [Mutex] isItemNotified: received:node:2f6cf5a3-c88d-4115-bbac-096c0ad0b64c:localhost:node-b5cecf0f-17a1-4494-9828-1bc09cb23db0:Node b5cecf0f-17a1-4494-9828-1bc09cb23db0 :: true

deleteNodes 1.020s
2021-02-18 22:00:06 |

2021-02-18 22:00:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:06 | ------------------------------------

2021-02-18 22:00:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b5cecf0f-17a1-4494-9828-1bc09cb23db0</node></data>

2021-02-18 22:00:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 22:00:07 | [Mutex] waiting for: [received:nodes:53afd28c-6380-469c-8617-da39e494cc2c:localhost]

2021-02-18 22:00:07 | [Mutex] waiting for: [received:nodes:53afd28c-6380-469c-8617-da39e494cc2c:localhost]

2021-02-18 22:00:07 | [Mutex] received everything.

2021-02-18 22:00:07 | [Mutex] isItemNotified: received:node:53afd28c-6380-469c-8617-da39e494cc2c:localhost:node-b5cecf0f-17a1-4494-9828-1bc09cb23db0:Node b5cecf0f-17a1-4494-9828-1bc09cb23db0 :: false

deleteSubnodes 1.107s
2021-02-18 22:00:05 |

2021-02-18 22:00:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:05 | ------------------------------------

2021-02-18 22:00:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-88855aba-3ce4-4017-b0d4-af933bad28d5</node></data>

2021-02-18 22:00:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 22:00:06 | [Mutex] waiting for: [received:nodes:ec0ad790-52a1-4a28-8eae-e685ed7a7fa7:localhost]

2021-02-18 22:00:06 | [Mutex] received everything.

2021-02-18 22:00:06 | [Mutex] isItemNotified: received:node:ec0ad790-52a1-4a28-8eae-e685ed7a7fa7:localhost:node-88855aba-3ce4-4017-b0d4-af933bad28d5:Node 88855aba-3ce4-4017-b0d4-af933bad28d5 :: false

2021-02-18 22:00:06 | [Mutex] waiting for: [received:nodes:29a454b4-4e9c-438f-8817-501f116713fb:localhost]

2021-02-18 22:00:06 | [Mutex] received everything.

2021-02-18 22:00:06 | [Mutex] isItemNotified: received:node:29a454b4-4e9c-438f-8817-501f116713fb:localhost:node-88855aba-3ce4-4017-b0d4-af933bad28d5:Node 88855aba-3ce4-4017-b0d4-af933bad28d5 :: false

publishItemsToNodes 0.208s
2021-02-18 22:00:03 |

2021-02-18 22:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:03 | ------------------------------------

2021-02-18 22:00:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-88855aba-3ce4-4017-b0d4-af933bad28d5</node><item-id>item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96</item-id><entry><test>item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96</test></entry></data>

2021-02-18 22:00:03 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96</value></item-id></result>

2021-02-18 22:00:03 | [Mutex] waiting for: [published:item:notifieditem-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96:admin@test-domain.com]

2021-02-18 22:00:03 | [Mutex] received everything.

2021-02-18 22:00:03 | [Mutex] isItemNotified: published:item:notifieditem-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2021-02-18 22:00:04 |

2021-02-18 22:00:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:04 | ------------------------------------

2021-02-18 22:00:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-88855aba-3ce4-4017-b0d4-af933bad28d5</node><item-id>item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96</item-id></data>

2021-02-18 22:00:04 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96</value></item-id></result>

2021-02-18 22:00:04 | [Mutex] received everything.

2021-02-18 22:00:04 | [Mutex] isItemNotified: retracted:item:notifieditem-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96:admin@test-domain.com :: true

retrieveItemsFromNodes 0.178s
2021-02-18 22:00:03 |

2021-02-18 22:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:03 | ------------------------------------

2021-02-18 22:00:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-88855aba-3ce4-4017-b0d4-af933bad28d5</node><item-id>item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96</item-id></data>

2021-02-18 22:00:03 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-88855aba-3ce4-4017-b0d4-af933bad28d5</value></node><item-id label="Item ID" type="text-single"><value>item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96</value></item-id><item label="Item" type="text-multi"><value><item id="item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96"><test>item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96</test></item></value></item></result>

2021-02-18 22:00:03 | [Mutex] notify: [retrieved:item:item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96:payload-matches:true:localhost]

2021-02-18 22:00:03 | [Mutex] received everything.

2021-02-18 22:00:03 | [Mutex] isItemNotified: retrieved:item:item-f7883ba3-9dd9-4e1e-84aa-3c1fcde3ac96:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-02-18 22:00:03 |

2021-02-18 22:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:03 | ------------------------------------

2021-02-18 22:00:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-18 22:00:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b5cecf0f-17a1-4494-9828-1bc09cb23db0</value><value>test</value><value>node-88855aba-3ce4-4017-b0d4-af933bad28d5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-02-18 22:00:03 |

2021-02-18 22:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:03 | ------------------------------------

2021-02-18 22:00:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-88855aba-3ce4-4017-b0d4-af933bad28d5)</node-pattern></data>

2021-02-18 22:00:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.135s
2021-02-18 22:00:02 |

2021-02-18 22:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:02 | ------------------------------------

2021-02-18 22:00:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-88855aba-3ce4-4017-b0d4-af933bad28d5</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.252s
2021-02-18 22:00:04 |

2021-02-18 22:00:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 22:00:04 | ------------------------------------

2021-02-18 22:00:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-88855aba-3ce4-4017-b0d4-af933bad28d5</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-18 22:00:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>