Generated by TestNG with ReportNG at 22:26 PDT on Friday 11 September 2020
root@4e397671a0f0 / 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.990s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2020-09-11 22:42:49 |

2020-09-11 22:42:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:49 | ------------------------------------

2020-09-11 22:42:49 | [Mutex] waiting for: [configured:node:node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92:node-c2c74048-b800-4a36-8f40-9e908d59a48b]

2020-09-11 22:42:49 | [Mutex] received everything.

2020-09-11 22:42:49 | [Mutex] isItemNotified: configured:node:node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92:node-c2c74048-b800-4a36-8f40-9e908d59a48b :: true

2020-09-11 22:42:50 | [Mutex] waiting for: [received:nodes:686c19f8-2f93-4e0a-95a1-b9542893f252:localhost]

2020-09-11 22:42:50 | [Mutex] received everything.

2020-09-11 22:42:50 | [Mutex] isItemNotified: received:node:686c19f8-2f93-4e0a-95a1-b9542893f252:localhost:node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92:Node 28ee965a-70a8-47fa-98e7-7f9e4a40dd92 :: true

2020-09-11 22:42:50 | [Mutex] waiting for: [received:nodes:4f1af912-2520-4e6a-8171-cd18f8252495:localhost]

2020-09-11 22:42:50 | [Mutex] waiting for: [received:nodes:4f1af912-2520-4e6a-8171-cd18f8252495:localhost]

2020-09-11 22:42:50 | [Mutex] waiting for: [received:nodes:4f1af912-2520-4e6a-8171-cd18f8252495:localhost]

2020-09-11 22:42:50 | [Mutex] waiting for: [received:nodes:4f1af912-2520-4e6a-8171-cd18f8252495:localhost]

2020-09-11 22:42:50 | [Mutex] received everything.

2020-09-11 22:42:50 | [Mutex] isItemNotified: received:node:4f1af912-2520-4e6a-8171-cd18f8252495:localhost:node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92:Node 28ee965a-70a8-47fa-98e7-7f9e4a40dd92 :: false

createNodes 1.495s
2020-09-11 22:42:47 |

2020-09-11 22:42:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:47 | ------------------------------------

2020-09-11 22:42:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 28ee965a-70a8-47fa-98e7-7f9e4a40dd92</title></pubsub></data>

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

2020-09-11 22:42:48 | [Mutex] waiting for: [received:nodes:33d9a1bd-070f-4f70-9417-44ddb5c38dfe:localhost]

2020-09-11 22:42:48 | [Mutex] received everything.

2020-09-11 22:42:48 | [Mutex] isItemNotified: received:node:33d9a1bd-070f-4f70-9417-44ddb5c38dfe:localhost:node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92:Node 28ee965a-70a8-47fa-98e7-7f9e4a40dd92 :: true

createSubnodes 1.032s
2020-09-11 22:42:48 |

2020-09-11 22:42:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:48 | ------------------------------------

2020-09-11 22:42:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c2c74048-b800-4a36-8f40-9e908d59a48b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c2c74048-b800-4a36-8f40-9e908d59a48b</title></pubsub></data>

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

2020-09-11 22:42:49 | [Mutex] waiting for: [received:nodes:a6a22251-3e37-466f-af00-f752fd7a2486:localhost]

2020-09-11 22:42:49 | [Mutex] received everything.

2020-09-11 22:42:49 | [Mutex] isItemNotified: received:node:a6a22251-3e37-466f-af00-f752fd7a2486:localhost:node-c2c74048-b800-4a36-8f40-9e908d59a48b:Node c2c74048-b800-4a36-8f40-9e908d59a48b :: true

deleteNodes 1.023s
2020-09-11 22:42:55 |

2020-09-11 22:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:55 | ------------------------------------

2020-09-11 22:42:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c2c74048-b800-4a36-8f40-9e908d59a48b</node></data>

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

2020-09-11 22:42:56 | [Mutex] waiting for: [received:nodes:60351e24-c79e-4728-8b60-fa298deac126:localhost]

2020-09-11 22:42:56 | [Mutex] received everything.

2020-09-11 22:42:56 | [Mutex] isItemNotified: received:node:60351e24-c79e-4728-8b60-fa298deac126:localhost:node-c2c74048-b800-4a36-8f40-9e908d59a48b:Node c2c74048-b800-4a36-8f40-9e908d59a48b :: false

deleteSubnodes 1.169s
2020-09-11 22:42:53 |

2020-09-11 22:42:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:53 | ------------------------------------

2020-09-11 22:42:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92</node></data>

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

2020-09-11 22:42:55 | [Mutex] waiting for: [received:nodes:4e2989d8-3ba5-4707-986f-e0cb54174d2a:localhost]

2020-09-11 22:42:55 | [Mutex] waiting for: [received:nodes:4e2989d8-3ba5-4707-986f-e0cb54174d2a:localhost]

2020-09-11 22:42:55 | [Mutex] received everything.

2020-09-11 22:42:55 | [Mutex] isItemNotified: received:node:4e2989d8-3ba5-4707-986f-e0cb54174d2a:localhost:node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92:Node 28ee965a-70a8-47fa-98e7-7f9e4a40dd92 :: false

2020-09-11 22:42:55 | [Mutex] waiting for: [received:nodes:b0de6b4f-629b-4824-8418-de568707a197:localhost]

2020-09-11 22:42:55 | [Mutex] received everything.

2020-09-11 22:42:55 | [Mutex] isItemNotified: received:node:b0de6b4f-629b-4824-8418-de568707a197:localhost:node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92:Node 28ee965a-70a8-47fa-98e7-7f9e4a40dd92 :: false

publishItemsToNodes 0.165s
2020-09-11 22:42:51 |

2020-09-11 22:42:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:51 | ------------------------------------

2020-09-11 22:42:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92</node><item-id>item-ca5d37d4-5e91-4df4-bb04-458c8930f9a2</item-id><entry><test>item-ca5d37d4-5e91-4df4-bb04-458c8930f9a2</test></entry></data>

2020-09-11 22:42:52 | 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-ca5d37d4-5e91-4df4-bb04-458c8930f9a2</value></item-id></result>

2020-09-11 22:42:52 | [Mutex] received everything.

2020-09-11 22:42:52 | [Mutex] isItemNotified: published:item:notifieditem-ca5d37d4-5e91-4df4-bb04-458c8930f9a2:admin@test-domain.com :: true

retractItemsFromNodes 0.175s
2020-09-11 22:42:52 |

2020-09-11 22:42:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:52 | ------------------------------------

2020-09-11 22:42:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92</node><item-id>item-ca5d37d4-5e91-4df4-bb04-458c8930f9a2</item-id></data>

2020-09-11 22:42:52 | 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-ca5d37d4-5e91-4df4-bb04-458c8930f9a2</value></item-id></result>

2020-09-11 22:42:52 | [Mutex] received everything.

2020-09-11 22:42:52 | [Mutex] isItemNotified: retracted:item:notifieditem-ca5d37d4-5e91-4df4-bb04-458c8930f9a2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.311s
2020-09-11 22:42:52 |

2020-09-11 22:42:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:52 | ------------------------------------

2020-09-11 22:42:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92</node><item-id>item-ca5d37d4-5e91-4df4-bb04-458c8930f9a2</item-id></data>

2020-09-11 22:42:52 | 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-28ee965a-70a8-47fa-98e7-7f9e4a40dd92</value></node><item-id type="text-single" label="Item ID"><value>item-ca5d37d4-5e91-4df4-bb04-458c8930f9a2</value></item-id><item type="text-multi" label="Item"><value><item id="item-ca5d37d4-5e91-4df4-bb04-458c8930f9a2"><test>item-ca5d37d4-5e91-4df4-bb04-458c8930f9a2</test></item></value></item></result>

2020-09-11 22:42:52 | [Mutex] notify: [retrieved:item:item-ca5d37d4-5e91-4df4-bb04-458c8930f9a2:payload-matches:true:localhost]

2020-09-11 22:42:52 | [Mutex] received everything.

2020-09-11 22:42:52 | [Mutex] isItemNotified: retrieved:item:item-ca5d37d4-5e91-4df4-bb04-458c8930f9a2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-11 22:42:52 |

2020-09-11 22:42:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:52 | ------------------------------------

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

2020-09-11 22:42:52 | 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-28ee965a-70a8-47fa-98e7-7f9e4a40dd92</value><value>node-c2c74048-b800-4a36-8f40-9e908d59a48b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-11 22:42:52 |

2020-09-11 22:42:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:52 | ------------------------------------

2020-09-11 22:42:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92)</node-pattern></data>

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

subscribeNodes 1.197s
2020-09-11 22:42:50 |

2020-09-11 22:42:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:50 | ------------------------------------

2020-09-11 22:42:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.263s
2020-09-11 22:42:52 |

2020-09-11 22:42:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:42:52 | ------------------------------------

2020-09-11 22:42:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-28ee965a-70a8-47fa-98e7-7f9e4a40dd92</node><jids><value>admin@test-domain.com</value></jids></data>

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