Generated by TestNG with ReportNG at 22:45 PDT on Saturday 26 September 2020
root@349fca04a89f / 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.056s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2020-09-26 23:00:15 |

2020-09-26 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:15 | ------------------------------------

2020-09-26 23:00:15 | [Mutex] waiting for: [configured:node:node-57c523e4-34c5-4142-94f3-94aaeb312e7b:node-f43c3d15-870b-4eb0-b5e4-c91de0cc7483]

2020-09-26 23:00:16 | [Mutex] received everything.

2020-09-26 23:00:16 | [Mutex] isItemNotified: configured:node:node-57c523e4-34c5-4142-94f3-94aaeb312e7b:node-f43c3d15-870b-4eb0-b5e4-c91de0cc7483 :: true

2020-09-26 23:00:17 | [Mutex] waiting for: [received:nodes:0fe62375-f96d-41ed-b4fd-5799db8e0480:localhost]

2020-09-26 23:00:17 | [Mutex] received everything.

2020-09-26 23:00:17 | [Mutex] isItemNotified: received:node:0fe62375-f96d-41ed-b4fd-5799db8e0480:localhost:node-57c523e4-34c5-4142-94f3-94aaeb312e7b:Node 57c523e4-34c5-4142-94f3-94aaeb312e7b :: true

2020-09-26 23:00:17 | [Mutex] waiting for: [received:nodes:f789f9d1-a1fb-45a8-a912-492e2ff8eb4c:localhost]

2020-09-26 23:00:17 | [Mutex] received everything.

2020-09-26 23:00:17 | [Mutex] isItemNotified: received:node:f789f9d1-a1fb-45a8-a912-492e2ff8eb4c:localhost:node-57c523e4-34c5-4142-94f3-94aaeb312e7b:Node 57c523e4-34c5-4142-94f3-94aaeb312e7b :: false

createNodes 1.628s
2020-09-26 23:00:13 |

2020-09-26 23:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:13 | ------------------------------------

2020-09-26 23:00:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-57c523e4-34c5-4142-94f3-94aaeb312e7b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 57c523e4-34c5-4142-94f3-94aaeb312e7b</title></pubsub></data>

2020-09-26 23:00:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-26 23:00:14 | [Mutex] waiting for: [received:nodes:ba964942-68f1-401e-bd1b-9d1b47ac3f9e:localhost]

2020-09-26 23:00:14 | [Mutex] received everything.

2020-09-26 23:00:14 | [Mutex] isItemNotified: received:node:ba964942-68f1-401e-bd1b-9d1b47ac3f9e:localhost:node-57c523e4-34c5-4142-94f3-94aaeb312e7b:Node 57c523e4-34c5-4142-94f3-94aaeb312e7b :: true

createSubnodes 1.026s
2020-09-26 23:00:14 |

2020-09-26 23:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:14 | ------------------------------------

2020-09-26 23:00:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f43c3d15-870b-4eb0-b5e4-c91de0cc7483</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f43c3d15-870b-4eb0-b5e4-c91de0cc7483</title></pubsub></data>

2020-09-26 23:00:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-26 23:00:15 | [Mutex] waiting for: [received:nodes:87ae048f-8576-48bd-976a-94796178ad30:localhost]

2020-09-26 23:00:15 | [Mutex] received everything.

2020-09-26 23:00:15 | [Mutex] isItemNotified: received:node:87ae048f-8576-48bd-976a-94796178ad30:localhost:node-f43c3d15-870b-4eb0-b5e4-c91de0cc7483:Node f43c3d15-870b-4eb0-b5e4-c91de0cc7483 :: true

deleteNodes 1.020s
2020-09-26 23:00:21 |

2020-09-26 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:21 | ------------------------------------

2020-09-26 23:00:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f43c3d15-870b-4eb0-b5e4-c91de0cc7483</node></data>

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

2020-09-26 23:00:22 | [Mutex] waiting for: [received:nodes:3ca00c2a-e10e-4341-8dec-ebe8286a3bdc:localhost]

2020-09-26 23:00:22 | [Mutex] waiting for: [received:nodes:3ca00c2a-e10e-4341-8dec-ebe8286a3bdc:localhost]

2020-09-26 23:00:22 | [Mutex] received everything.

2020-09-26 23:00:22 | [Mutex] isItemNotified: received:node:3ca00c2a-e10e-4341-8dec-ebe8286a3bdc:localhost:node-f43c3d15-870b-4eb0-b5e4-c91de0cc7483:Node f43c3d15-870b-4eb0-b5e4-c91de0cc7483 :: false

deleteSubnodes 1.133s
2020-09-26 23:00:20 |

2020-09-26 23:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:20 | ------------------------------------

2020-09-26 23:00:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-57c523e4-34c5-4142-94f3-94aaeb312e7b</node></data>

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

2020-09-26 23:00:21 | [Mutex] waiting for: [received:nodes:582bfb97-aded-4229-b4aa-559dba8db811:localhost]

2020-09-26 23:00:21 | [Mutex] received everything.

2020-09-26 23:00:21 | [Mutex] isItemNotified: received:node:582bfb97-aded-4229-b4aa-559dba8db811:localhost:node-57c523e4-34c5-4142-94f3-94aaeb312e7b:Node 57c523e4-34c5-4142-94f3-94aaeb312e7b :: false

2020-09-26 23:00:21 | [Mutex] waiting for: [received:nodes:448c7b67-ae7f-4eba-898b-a898a5a2a14a:localhost]

2020-09-26 23:00:21 | [Mutex] received everything.

2020-09-26 23:00:21 | [Mutex] isItemNotified: received:node:448c7b67-ae7f-4eba-898b-a898a5a2a14a:localhost:node-57c523e4-34c5-4142-94f3-94aaeb312e7b:Node 57c523e4-34c5-4142-94f3-94aaeb312e7b :: false

publishItemsToNodes 0.249s
2020-09-26 23:00:18 |

2020-09-26 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:18 | ------------------------------------

2020-09-26 23:00:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-57c523e4-34c5-4142-94f3-94aaeb312e7b</node><item-id>item-e791e2e7-bc6d-4d8f-bb78-0633f67c2997</item-id><entry><test>item-e791e2e7-bc6d-4d8f-bb78-0633f67c2997</test></entry></data>

2020-09-26 23:00:18 | 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-e791e2e7-bc6d-4d8f-bb78-0633f67c2997</value></item-id></result>

2020-09-26 23:00:18 | [Mutex] waiting for: [published:item:notifieditem-e791e2e7-bc6d-4d8f-bb78-0633f67c2997:admin@test-domain.com]

2020-09-26 23:00:18 | [Mutex] received everything.

2020-09-26 23:00:18 | [Mutex] isItemNotified: published:item:notifieditem-e791e2e7-bc6d-4d8f-bb78-0633f67c2997:admin@test-domain.com :: true

retractItemsFromNodes 0.231s
2020-09-26 23:00:18 |

2020-09-26 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:18 | ------------------------------------

2020-09-26 23:00:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-57c523e4-34c5-4142-94f3-94aaeb312e7b</node><item-id>item-e791e2e7-bc6d-4d8f-bb78-0633f67c2997</item-id></data>

2020-09-26 23:00:19 | 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-e791e2e7-bc6d-4d8f-bb78-0633f67c2997</value></item-id></result>

2020-09-26 23:00:19 | [Mutex] received everything.

2020-09-26 23:00:19 | [Mutex] isItemNotified: retracted:item:notifieditem-e791e2e7-bc6d-4d8f-bb78-0633f67c2997:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2020-09-26 23:00:18 |

2020-09-26 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:18 | ------------------------------------

2020-09-26 23:00:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-57c523e4-34c5-4142-94f3-94aaeb312e7b</node><item-id>item-e791e2e7-bc6d-4d8f-bb78-0633f67c2997</item-id></data>

2020-09-26 23:00:18 | 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-57c523e4-34c5-4142-94f3-94aaeb312e7b</value></node><item-id type="text-single" label="Item ID"><value>item-e791e2e7-bc6d-4d8f-bb78-0633f67c2997</value></item-id><item type="text-multi" label="Item"><value><item id="item-e791e2e7-bc6d-4d8f-bb78-0633f67c2997"><test>item-e791e2e7-bc6d-4d8f-bb78-0633f67c2997</test></item></value></item></result>

2020-09-26 23:00:18 | [Mutex] notify: [retrieved:item:item-e791e2e7-bc6d-4d8f-bb78-0633f67c2997:payload-matches:true:localhost]

2020-09-26 23:00:18 | [Mutex] received everything.

2020-09-26 23:00:18 | [Mutex] isItemNotified: retrieved:item:item-e791e2e7-bc6d-4d8f-bb78-0633f67c2997:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-26 23:00:18 |

2020-09-26 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:18 | ------------------------------------

2020-09-26 23:00:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-26 23:00:18 | 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-f43c3d15-870b-4eb0-b5e4-c91de0cc7483</value><value>node-57c523e4-34c5-4142-94f3-94aaeb312e7b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-26 23:00:18 |

2020-09-26 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:18 | ------------------------------------

2020-09-26 23:00:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-57c523e4-34c5-4142-94f3-94aaeb312e7b)</node-pattern></data>

2020-09-26 23:00:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.118s
2020-09-26 23:00:17 |

2020-09-26 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:17 | ------------------------------------

2020-09-26 23:00:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-57c523e4-34c5-4142-94f3-94aaeb312e7b</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-26 23:00:17 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.219s
2020-09-26 23:00:19 |

2020-09-26 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-26 23:00:19 | ------------------------------------

2020-09-26 23:00:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-57c523e4-34c5-4142-94f3-94aaeb312e7b</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-26 23:00:19 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>