Generated by TestNG with ReportNG at 22:34 PDT on Monday 05 October 2020
root@43fec6d4badf / 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.090s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2020-10-05 22:49:08 |

2020-10-05 22:49:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:49:08 | ------------------------------------

2020-10-05 22:49:08 | [Mutex] waiting for: [configured:node:node-4949d089-5d41-4667-929a-e1bbea976ccc:node-9259a83d-44e8-4d2d-9f6c-7e1fff881025]

2020-10-05 22:49:08 | [Mutex] received everything.

2020-10-05 22:49:08 | [Mutex] isItemNotified: configured:node:node-4949d089-5d41-4667-929a-e1bbea976ccc:node-9259a83d-44e8-4d2d-9f6c-7e1fff881025 :: true

2020-10-05 22:49:09 | [Mutex] waiting for: [received:nodes:b97d8c7e-7283-4502-ba33-3d2095d2d8a1:localhost]

2020-10-05 22:49:09 | [Mutex] received everything.

2020-10-05 22:49:09 | [Mutex] isItemNotified: received:node:b97d8c7e-7283-4502-ba33-3d2095d2d8a1:localhost:node-4949d089-5d41-4667-929a-e1bbea976ccc:Node 4949d089-5d41-4667-929a-e1bbea976ccc :: true

2020-10-05 22:49:09 | [Mutex] waiting for: [received:nodes:e8eaa14e-8e9c-49e7-a02a-9eff86859082:localhost]

2020-10-05 22:49:09 | [Mutex] waiting for: [received:nodes:e8eaa14e-8e9c-49e7-a02a-9eff86859082:localhost]

2020-10-05 22:49:09 | [Mutex] received everything.

2020-10-05 22:49:09 | [Mutex] isItemNotified: received:node:e8eaa14e-8e9c-49e7-a02a-9eff86859082:localhost:node-4949d089-5d41-4667-929a-e1bbea976ccc:Node 4949d089-5d41-4667-929a-e1bbea976ccc :: false

createNodes 1.598s
2020-10-05 22:49:06 |

2020-10-05 22:49:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:49:06 | ------------------------------------

2020-10-05 22:49:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4949d089-5d41-4667-929a-e1bbea976ccc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4949d089-5d41-4667-929a-e1bbea976ccc</title></pubsub></data>

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

2020-10-05 22:49:07 | [Mutex] waiting for: [received:nodes:284ed206-e3df-4d2e-a9a1-776d106a33d7:localhost]

2020-10-05 22:49:07 | [Mutex] received everything.

2020-10-05 22:49:07 | [Mutex] isItemNotified: received:node:284ed206-e3df-4d2e-a9a1-776d106a33d7:localhost:node-4949d089-5d41-4667-929a-e1bbea976ccc:Node 4949d089-5d41-4667-929a-e1bbea976ccc :: true

createSubnodes 1.033s
2020-10-05 22:49:07 |

2020-10-05 22:49:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:49:07 | ------------------------------------

2020-10-05 22:49:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9259a83d-44e8-4d2d-9f6c-7e1fff881025</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9259a83d-44e8-4d2d-9f6c-7e1fff881025</title></pubsub></data>

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

2020-10-05 22:49:08 | [Mutex] waiting for: [received:nodes:ab4a19ea-c0a2-4c10-911d-99936b267ef5:localhost]

2020-10-05 22:49:08 | [Mutex] received everything.

2020-10-05 22:49:08 | [Mutex] isItemNotified: received:node:ab4a19ea-c0a2-4c10-911d-99936b267ef5:localhost:node-9259a83d-44e8-4d2d-9f6c-7e1fff881025:Node 9259a83d-44e8-4d2d-9f6c-7e1fff881025 :: true

deleteNodes 1.018s
2020-10-05 22:49:14 |

2020-10-05 22:49:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:49:14 | ------------------------------------

2020-10-05 22:49:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9259a83d-44e8-4d2d-9f6c-7e1fff881025</node></data>

2020-10-05 22:49:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-05 22:49:15 | [Mutex] waiting for: [received:nodes:ae563ae0-3fc2-4a86-a162-02f369e02b23:localhost]

2020-10-05 22:49:15 | [Mutex] received everything.

2020-10-05 22:49:15 | [Mutex] isItemNotified: received:node:ae563ae0-3fc2-4a86-a162-02f369e02b23:localhost:node-9259a83d-44e8-4d2d-9f6c-7e1fff881025:Node 9259a83d-44e8-4d2d-9f6c-7e1fff881025 :: false

deleteSubnodes 1.124s
2020-10-05 22:49:13 |

2020-10-05 22:49:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:49:13 | ------------------------------------

2020-10-05 22:49:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4949d089-5d41-4667-929a-e1bbea976ccc</node></data>

2020-10-05 22:49:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-05 22:49:14 | [Mutex] waiting for: [received:nodes:c50fffa6-61e9-4845-8e6a-123776f0af28:localhost]

2020-10-05 22:49:14 | [Mutex] waiting for: [received:nodes:c50fffa6-61e9-4845-8e6a-123776f0af28:localhost]

2020-10-05 22:49:14 | [Mutex] waiting for: [received:nodes:c50fffa6-61e9-4845-8e6a-123776f0af28:localhost]

2020-10-05 22:49:14 | [Mutex] received everything.

2020-10-05 22:49:14 | [Mutex] isItemNotified: received:node:c50fffa6-61e9-4845-8e6a-123776f0af28:localhost:node-4949d089-5d41-4667-929a-e1bbea976ccc:Node 4949d089-5d41-4667-929a-e1bbea976ccc :: false

2020-10-05 22:49:14 | [Mutex] waiting for: [received:nodes:4b8c7c60-5760-49f8-bb64-78404761a0c0:localhost]

2020-10-05 22:49:14 | [Mutex] received everything.

2020-10-05 22:49:14 | [Mutex] isItemNotified: received:node:4b8c7c60-5760-49f8-bb64-78404761a0c0:localhost:node-4949d089-5d41-4667-929a-e1bbea976ccc:Node 4949d089-5d41-4667-929a-e1bbea976ccc :: false

publishItemsToNodes 0.221s
2020-10-05 22:49:11 |

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

2020-10-05 22:49:11 | ------------------------------------

2020-10-05 22:49:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4949d089-5d41-4667-929a-e1bbea976ccc</node><item-id>item-ecbb3fbb-18c6-432d-8949-a189cb8bce88</item-id><entry><test>item-ecbb3fbb-18c6-432d-8949-a189cb8bce88</test></entry></data>

2020-10-05 22:49:11 | 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-ecbb3fbb-18c6-432d-8949-a189cb8bce88</value></item-id></result>

2020-10-05 22:49:11 | [Mutex] waiting for: [published:item:notifieditem-ecbb3fbb-18c6-432d-8949-a189cb8bce88:admin@test-domain.com]

2020-10-05 22:49:11 | [Mutex] received everything.

2020-10-05 22:49:11 | [Mutex] isItemNotified: published:item:notifieditem-ecbb3fbb-18c6-432d-8949-a189cb8bce88:admin@test-domain.com :: true

retractItemsFromNodes 0.331s
2020-10-05 22:49:11 |

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

2020-10-05 22:49:11 | ------------------------------------

2020-10-05 22:49:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4949d089-5d41-4667-929a-e1bbea976ccc</node><item-id>item-ecbb3fbb-18c6-432d-8949-a189cb8bce88</item-id></data>

2020-10-05 22:49:12 | 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-ecbb3fbb-18c6-432d-8949-a189cb8bce88</value></item-id></result>

2020-10-05 22:49:12 | [Mutex] received everything.

2020-10-05 22:49:12 | [Mutex] isItemNotified: retracted:item:notifieditem-ecbb3fbb-18c6-432d-8949-a189cb8bce88:admin@test-domain.com :: true

retrieveItemsFromNodes 0.333s
2020-10-05 22:49:11 |

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

2020-10-05 22:49:11 | ------------------------------------

2020-10-05 22:49:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4949d089-5d41-4667-929a-e1bbea976ccc</node><item-id>item-ecbb3fbb-18c6-432d-8949-a189cb8bce88</item-id></data>

2020-10-05 22:49:11 | 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-4949d089-5d41-4667-929a-e1bbea976ccc</value></node><item-id label="Item ID" type="text-single"><value>item-ecbb3fbb-18c6-432d-8949-a189cb8bce88</value></item-id><item label="Item" type="text-multi"><value><item id="item-ecbb3fbb-18c6-432d-8949-a189cb8bce88"><test>item-ecbb3fbb-18c6-432d-8949-a189cb8bce88</test></item></value></item></result>

2020-10-05 22:49:11 | [Mutex] notify: [retrieved:item:item-ecbb3fbb-18c6-432d-8949-a189cb8bce88:payload-matches:true:localhost]

2020-10-05 22:49:11 | [Mutex] received everything.

2020-10-05 22:49:11 | [Mutex] isItemNotified: retrieved:item:item-ecbb3fbb-18c6-432d-8949-a189cb8bce88:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-05 22:49:11 |

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

2020-10-05 22:49:11 | ------------------------------------

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

2020-10-05 22:49:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-4949d089-5d41-4667-929a-e1bbea976ccc</value><value>node-9259a83d-44e8-4d2d-9f6c-7e1fff881025</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-10-05 22:49:11 |

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

2020-10-05 22:49:11 | ------------------------------------

2020-10-05 22:49:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4949d089-5d41-4667-929a-e1bbea976ccc)</node-pattern></data>

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

subscribeNodes 1.122s
2020-10-05 22:49:09 |

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

2020-10-05 22:49:09 | ------------------------------------

2020-10-05 22:49:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4949d089-5d41-4667-929a-e1bbea976ccc</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.231s
2020-10-05 22:49:12 |

2020-10-05 22:49:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:49:12 | ------------------------------------

2020-10-05 22:49:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4949d089-5d41-4667-929a-e1bbea976ccc</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-05 22:49:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>