Generated by TestNG with ReportNG at 22:14 PDT on Sunday 09 May 2021
root@785cf647a4ab / 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.584s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.148s
2021-05-09 22:31:10 |

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

2021-05-09 22:31:10 | ------------------------------------

2021-05-09 22:31:10 | [Mutex] waiting for: [configured:node:node-9f4f4354-9a16-4fb3-8691-783a7f04abd2:node-98a69275-ee3c-4e20-b593-fc0f0d498a78]

2021-05-09 22:31:11 | [Mutex] received everything.

2021-05-09 22:31:11 | [Mutex] isItemNotified: configured:node:node-9f4f4354-9a16-4fb3-8691-783a7f04abd2:node-98a69275-ee3c-4e20-b593-fc0f0d498a78 :: true

2021-05-09 22:31:12 | [Mutex] waiting for: [received:nodes:01fd3f37-7d6f-47fa-8742-875a93e23212:localhost]

2021-05-09 22:31:12 | [Mutex] received everything.

2021-05-09 22:31:12 | [Mutex] isItemNotified: received:node:01fd3f37-7d6f-47fa-8742-875a93e23212:localhost:node-9f4f4354-9a16-4fb3-8691-783a7f04abd2:Node 9f4f4354-9a16-4fb3-8691-783a7f04abd2 :: true

2021-05-09 22:31:12 | [Mutex] waiting for: [received:nodes:edd0accb-148c-4e79-a656-be1b7c81c5d3:localhost]

2021-05-09 22:31:12 | [Mutex] waiting for: [received:nodes:edd0accb-148c-4e79-a656-be1b7c81c5d3:localhost]

2021-05-09 22:31:12 | [Mutex] received everything.

2021-05-09 22:31:12 | [Mutex] isItemNotified: received:node:edd0accb-148c-4e79-a656-be1b7c81c5d3:localhost:node-9f4f4354-9a16-4fb3-8691-783a7f04abd2:Node 9f4f4354-9a16-4fb3-8691-783a7f04abd2 :: false

createNodes 1.544s
2021-05-09 22:31:08 |

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

2021-05-09 22:31:08 | ------------------------------------

2021-05-09 22:31:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9f4f4354-9a16-4fb3-8691-783a7f04abd2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9f4f4354-9a16-4fb3-8691-783a7f04abd2</title></pubsub></data>

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

2021-05-09 22:31:09 | [Mutex] waiting for: [received:nodes:88d68a5a-45e8-43db-9a7d-1686d6f7f669:localhost]

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

2021-05-09 22:31:09 | [Mutex] isItemNotified: received:node:88d68a5a-45e8-43db-9a7d-1686d6f7f669:localhost:node-9f4f4354-9a16-4fb3-8691-783a7f04abd2:Node 9f4f4354-9a16-4fb3-8691-783a7f04abd2 :: true

createSubnodes 1.026s
2021-05-09 22:31:09 |

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

2021-05-09 22:31:09 | ------------------------------------

2021-05-09 22:31:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-98a69275-ee3c-4e20-b593-fc0f0d498a78</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 98a69275-ee3c-4e20-b593-fc0f0d498a78</title></pubsub></data>

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

2021-05-09 22:31:10 | [Mutex] waiting for: [received:nodes:f571f73c-0420-4279-ab47-8a83ff690163:localhost]

2021-05-09 22:31:10 | [Mutex] received everything.

2021-05-09 22:31:10 | [Mutex] isItemNotified: received:node:f571f73c-0420-4279-ab47-8a83ff690163:localhost:node-98a69275-ee3c-4e20-b593-fc0f0d498a78:Node 98a69275-ee3c-4e20-b593-fc0f0d498a78 :: true

deleteNodes 1.018s
2021-05-09 22:31:16 |

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

2021-05-09 22:31:16 | ------------------------------------

2021-05-09 22:31:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-98a69275-ee3c-4e20-b593-fc0f0d498a78</node></data>

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

2021-05-09 22:31:17 | [Mutex] waiting for: [received:nodes:1919637f-5474-4fba-bfab-949ced58d451:localhost]

2021-05-09 22:31:17 | [Mutex] received everything.

2021-05-09 22:31:17 | [Mutex] isItemNotified: received:node:1919637f-5474-4fba-bfab-949ced58d451:localhost:node-98a69275-ee3c-4e20-b593-fc0f0d498a78:Node 98a69275-ee3c-4e20-b593-fc0f0d498a78 :: false

deleteSubnodes 1.131s
2021-05-09 22:31:15 |

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

2021-05-09 22:31:15 | ------------------------------------

2021-05-09 22:31:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9f4f4354-9a16-4fb3-8691-783a7f04abd2</node></data>

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

2021-05-09 22:31:16 | [Mutex] waiting for: [received:nodes:783f2066-e857-4a68-8192-0e444e2d62ac:localhost]

2021-05-09 22:31:16 | [Mutex] waiting for: [received:nodes:783f2066-e857-4a68-8192-0e444e2d62ac:localhost]

2021-05-09 22:31:16 | [Mutex] received everything.

2021-05-09 22:31:16 | [Mutex] isItemNotified: received:node:783f2066-e857-4a68-8192-0e444e2d62ac:localhost:node-9f4f4354-9a16-4fb3-8691-783a7f04abd2:Node 9f4f4354-9a16-4fb3-8691-783a7f04abd2 :: false

2021-05-09 22:31:16 | [Mutex] waiting for: [received:nodes:fe3b607f-acdf-4502-a984-0440e85447d5:localhost]

2021-05-09 22:31:16 | [Mutex] received everything.

2021-05-09 22:31:16 | [Mutex] isItemNotified: received:node:fe3b607f-acdf-4502-a984-0440e85447d5:localhost:node-9f4f4354-9a16-4fb3-8691-783a7f04abd2:Node 9f4f4354-9a16-4fb3-8691-783a7f04abd2 :: false

publishItemsToNodes 0.267s
2021-05-09 22:31:13 |

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

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

2021-05-09 22:31:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9f4f4354-9a16-4fb3-8691-783a7f04abd2</node><item-id>item-860c5aef-62ac-4af3-b67a-20c65461eff6</item-id><entry><test>item-860c5aef-62ac-4af3-b67a-20c65461eff6</test></entry></data>

2021-05-09 22:31:13 | 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-860c5aef-62ac-4af3-b67a-20c65461eff6</value></item-id></result>

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

2021-05-09 22:31:13 | [Mutex] isItemNotified: published:item:notifieditem-860c5aef-62ac-4af3-b67a-20c65461eff6:admin@test-domain.com :: true

retractItemsFromNodes 0.339s
2021-05-09 22:31:14 |

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

2021-05-09 22:31:14 | ------------------------------------

2021-05-09 22:31:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9f4f4354-9a16-4fb3-8691-783a7f04abd2</node><item-id>item-860c5aef-62ac-4af3-b67a-20c65461eff6</item-id></data>

2021-05-09 22:31:14 | 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-860c5aef-62ac-4af3-b67a-20c65461eff6</value></item-id></result>

2021-05-09 22:31:14 | [Mutex] received everything.

2021-05-09 22:31:14 | [Mutex] isItemNotified: retracted:item:notifieditem-860c5aef-62ac-4af3-b67a-20c65461eff6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.423s
2021-05-09 22:31:13 |

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

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

2021-05-09 22:31:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9f4f4354-9a16-4fb3-8691-783a7f04abd2</node><item-id>item-860c5aef-62ac-4af3-b67a-20c65461eff6</item-id></data>

2021-05-09 22:31:14 | 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-9f4f4354-9a16-4fb3-8691-783a7f04abd2</value></node><item-id type="text-single" label="Item ID"><value>item-860c5aef-62ac-4af3-b67a-20c65461eff6</value></item-id><item type="text-multi" label="Item"><value><item id="item-860c5aef-62ac-4af3-b67a-20c65461eff6"><test>item-860c5aef-62ac-4af3-b67a-20c65461eff6</test></item></value></item></result>

2021-05-09 22:31:14 | [Mutex] notify: [retrieved:item:item-860c5aef-62ac-4af3-b67a-20c65461eff6:payload-matches:true:localhost]

2021-05-09 22:31:14 | [Mutex] received everything.

2021-05-09 22:31:14 | [Mutex] isItemNotified: retrieved:item:item-860c5aef-62ac-4af3-b67a-20c65461eff6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-09 22:31:14 |

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

2021-05-09 22:31:14 | ------------------------------------

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

2021-05-09 22:31:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-9f4f4354-9a16-4fb3-8691-783a7f04abd2</value><value>node-98a69275-ee3c-4e20-b593-fc0f0d498a78</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-09 22:31:14 |

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

2021-05-09 22:31:14 | ------------------------------------

2021-05-09 22:31:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9f4f4354-9a16-4fb3-8691-783a7f04abd2)</node-pattern></data>

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

subscribeNodes 1.221s
2021-05-09 22:31:12 |

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

2021-05-09 22:31:12 | ------------------------------------

2021-05-09 22:31:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9f4f4354-9a16-4fb3-8691-783a7f04abd2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.327s
2021-05-09 22:31:14 |

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

2021-05-09 22:31:14 | ------------------------------------

2021-05-09 22:31:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9f4f4354-9a16-4fb3-8691-783a7f04abd2</node><jids><value>admin@test-domain.com</value></jids></data>

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