Generated by TestNG with ReportNG at 21:14 PST on Wednesday 11 November 2020
root@87f6aca6b6f2 / 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.106s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2020-11-11 21:30:03 |

2020-11-11 21:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:03 | ------------------------------------

2020-11-11 21:30:03 | [Mutex] waiting for: [configured:node:node-c2253132-075d-4f8b-9e68-a110dd85a673:node-3964917e-ca56-4269-9671-f13d414ddae2]

2020-11-11 21:30:03 | [Mutex] received everything.

2020-11-11 21:30:03 | [Mutex] isItemNotified: configured:node:node-c2253132-075d-4f8b-9e68-a110dd85a673:node-3964917e-ca56-4269-9671-f13d414ddae2 :: true

2020-11-11 21:30:04 | [Mutex] waiting for: [received:nodes:d086a88e-90c9-4caa-ac8a-573413a17bd4:localhost]

2020-11-11 21:30:04 | [Mutex] received everything.

2020-11-11 21:30:04 | [Mutex] isItemNotified: received:node:d086a88e-90c9-4caa-ac8a-573413a17bd4:localhost:node-c2253132-075d-4f8b-9e68-a110dd85a673:Node c2253132-075d-4f8b-9e68-a110dd85a673 :: true

2020-11-11 21:30:04 | [Mutex] waiting for: [received:nodes:5241e557-be1f-4d07-a914-145f5aaa2ede:localhost]

2020-11-11 21:30:04 | [Mutex] received everything.

2020-11-11 21:30:04 | [Mutex] isItemNotified: received:node:5241e557-be1f-4d07-a914-145f5aaa2ede:localhost:node-c2253132-075d-4f8b-9e68-a110dd85a673:Node c2253132-075d-4f8b-9e68-a110dd85a673 :: false

createNodes 1.506s
2020-11-11 21:30:01 |

2020-11-11 21:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:01 | ------------------------------------

2020-11-11 21:30:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c2253132-075d-4f8b-9e68-a110dd85a673</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c2253132-075d-4f8b-9e68-a110dd85a673</title></pubsub></data>

2020-11-11 21:30:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-11 21:30:02 | [Mutex] waiting for: [received:nodes:a03df2e2-6426-4e5a-ac9b-d797a87a403e:localhost]

2020-11-11 21:30:02 | [Mutex] received everything.

2020-11-11 21:30:02 | [Mutex] isItemNotified: received:node:a03df2e2-6426-4e5a-ac9b-d797a87a403e:localhost:node-c2253132-075d-4f8b-9e68-a110dd85a673:Node c2253132-075d-4f8b-9e68-a110dd85a673 :: true

createSubnodes 1.027s
2020-11-11 21:30:02 |

2020-11-11 21:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:02 | ------------------------------------

2020-11-11 21:30:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3964917e-ca56-4269-9671-f13d414ddae2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3964917e-ca56-4269-9671-f13d414ddae2</title></pubsub></data>

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

2020-11-11 21:30:03 | [Mutex] waiting for: [received:nodes:a309bb1e-db0a-43e6-9744-64b1c44f4acb:localhost]

2020-11-11 21:30:03 | [Mutex] received everything.

2020-11-11 21:30:03 | [Mutex] isItemNotified: received:node:a309bb1e-db0a-43e6-9744-64b1c44f4acb:localhost:node-3964917e-ca56-4269-9671-f13d414ddae2:Node 3964917e-ca56-4269-9671-f13d414ddae2 :: true

deleteNodes 1.023s
2020-11-11 21:30:09 |

2020-11-11 21:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:09 | ------------------------------------

2020-11-11 21:30:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3964917e-ca56-4269-9671-f13d414ddae2</node></data>

2020-11-11 21:30:09 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-11 21:30:10 | [Mutex] waiting for: [received:nodes:10588bb3-a169-4735-b338-61d19b955840:localhost]

2020-11-11 21:30:10 | [Mutex] received everything.

2020-11-11 21:30:10 | [Mutex] isItemNotified: received:node:10588bb3-a169-4735-b338-61d19b955840:localhost:node-3964917e-ca56-4269-9671-f13d414ddae2:Node 3964917e-ca56-4269-9671-f13d414ddae2 :: false

deleteSubnodes 1.119s
2020-11-11 21:30:08 |

2020-11-11 21:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:08 | ------------------------------------

2020-11-11 21:30:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c2253132-075d-4f8b-9e68-a110dd85a673</node></data>

2020-11-11 21:30:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-11 21:30:09 | [Mutex] waiting for: [received:nodes:639d9ae1-4560-4f6b-b370-b44afa6ca8f1:localhost]

2020-11-11 21:30:09 | [Mutex] waiting for: [received:nodes:639d9ae1-4560-4f6b-b370-b44afa6ca8f1:localhost]

2020-11-11 21:30:09 | [Mutex] received everything.

2020-11-11 21:30:09 | [Mutex] isItemNotified: received:node:639d9ae1-4560-4f6b-b370-b44afa6ca8f1:localhost:node-c2253132-075d-4f8b-9e68-a110dd85a673:Node c2253132-075d-4f8b-9e68-a110dd85a673 :: false

2020-11-11 21:30:09 | [Mutex] waiting for: [received:nodes:f89ee047-0c9d-44f4-85e3-17e15e35b6f2:localhost]

2020-11-11 21:30:09 | [Mutex] received everything.

2020-11-11 21:30:09 | [Mutex] isItemNotified: received:node:f89ee047-0c9d-44f4-85e3-17e15e35b6f2:localhost:node-c2253132-075d-4f8b-9e68-a110dd85a673:Node c2253132-075d-4f8b-9e68-a110dd85a673 :: false

publishItemsToNodes 0.274s
2020-11-11 21:30:05 |

2020-11-11 21:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:05 | ------------------------------------

2020-11-11 21:30:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c2253132-075d-4f8b-9e68-a110dd85a673</node><item-id>item-43cd8ea5-5b46-4e8b-bb64-59768aa15b58</item-id><entry><test>item-43cd8ea5-5b46-4e8b-bb64-59768aa15b58</test></entry></data>

2020-11-11 21:30:06 | 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-43cd8ea5-5b46-4e8b-bb64-59768aa15b58</value></item-id></result>

2020-11-11 21:30:06 | [Mutex] received everything.

2020-11-11 21:30:06 | [Mutex] isItemNotified: published:item:notifieditem-43cd8ea5-5b46-4e8b-bb64-59768aa15b58:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2020-11-11 21:30:06 |

2020-11-11 21:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:06 | ------------------------------------

2020-11-11 21:30:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c2253132-075d-4f8b-9e68-a110dd85a673</node><item-id>item-43cd8ea5-5b46-4e8b-bb64-59768aa15b58</item-id></data>

2020-11-11 21:30:06 | 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-43cd8ea5-5b46-4e8b-bb64-59768aa15b58</value></item-id></result>

2020-11-11 21:30:06 | [Mutex] received everything.

2020-11-11 21:30:06 | [Mutex] isItemNotified: retracted:item:notifieditem-43cd8ea5-5b46-4e8b-bb64-59768aa15b58:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2020-11-11 21:30:06 |

2020-11-11 21:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:06 | ------------------------------------

2020-11-11 21:30:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c2253132-075d-4f8b-9e68-a110dd85a673</node><item-id>item-43cd8ea5-5b46-4e8b-bb64-59768aa15b58</item-id></data>

2020-11-11 21:30:06 | 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-c2253132-075d-4f8b-9e68-a110dd85a673</value></node><item-id type="text-single" label="Item ID"><value>item-43cd8ea5-5b46-4e8b-bb64-59768aa15b58</value></item-id><item type="text-multi" label="Item"><value><item id="item-43cd8ea5-5b46-4e8b-bb64-59768aa15b58"><test>item-43cd8ea5-5b46-4e8b-bb64-59768aa15b58</test></item></value></item></result>

2020-11-11 21:30:06 | [Mutex] notify: [retrieved:item:item-43cd8ea5-5b46-4e8b-bb64-59768aa15b58:payload-matches:true:localhost]

2020-11-11 21:30:06 | [Mutex] received everything.

2020-11-11 21:30:06 | [Mutex] isItemNotified: retrieved:item:item-43cd8ea5-5b46-4e8b-bb64-59768aa15b58:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2020-11-11 21:30:06 |

2020-11-11 21:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:06 | ------------------------------------

2020-11-11 21:30:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-11 21:30:06 | 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-c2253132-075d-4f8b-9e68-a110dd85a673</value><value>node-3964917e-ca56-4269-9671-f13d414ddae2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-11 21:30:06 |

2020-11-11 21:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:06 | ------------------------------------

2020-11-11 21:30:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c2253132-075d-4f8b-9e68-a110dd85a673)</node-pattern></data>

2020-11-11 21:30:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.108s
2020-11-11 21:30:04 |

2020-11-11 21:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:04 | ------------------------------------

2020-11-11 21:30:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c2253132-075d-4f8b-9e68-a110dd85a673</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-11 21:30:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.275s
2020-11-11 21:30:06 |

2020-11-11 21:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:30:06 | ------------------------------------

2020-11-11 21:30:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c2253132-075d-4f8b-9e68-a110dd85a673</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-11 21:30:07 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>