Generated by TestNG with ReportNG at 21:51 PST on Thursday 28 January 2021
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.275s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.128s
2021-01-28 22:09:24 |

2021-01-28 22:09:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:24 | ------------------------------------

2021-01-28 22:09:24 | [Mutex] waiting for: [configured:node:node-05312a3f-9102-4c8a-aa96-a9f0e33495bd:node-7cb88c2f-2918-4275-85a0-c96e0d7063f7]

2021-01-28 22:09:24 | [Mutex] received everything.

2021-01-28 22:09:24 | [Mutex] isItemNotified: configured:node:node-05312a3f-9102-4c8a-aa96-a9f0e33495bd:node-7cb88c2f-2918-4275-85a0-c96e0d7063f7 :: true

2021-01-28 22:09:25 | [Mutex] waiting for: [received:nodes:246a3999-137a-41e9-9292-163c2ce42c6d:localhost]

2021-01-28 22:09:25 | [Mutex] waiting for: [received:nodes:246a3999-137a-41e9-9292-163c2ce42c6d:localhost]

2021-01-28 22:09:25 | [Mutex] received everything.

2021-01-28 22:09:25 | [Mutex] isItemNotified: received:node:246a3999-137a-41e9-9292-163c2ce42c6d:localhost:node-05312a3f-9102-4c8a-aa96-a9f0e33495bd:Node 05312a3f-9102-4c8a-aa96-a9f0e33495bd :: true

2021-01-28 22:09:25 | [Mutex] waiting for: [received:nodes:be3981ac-ae2a-4e09-809c-321a1e3bd7eb:localhost]

2021-01-28 22:09:25 | [Mutex] waiting for: [received:nodes:be3981ac-ae2a-4e09-809c-321a1e3bd7eb:localhost]

2021-01-28 22:09:25 | [Mutex] received everything.

2021-01-28 22:09:25 | [Mutex] isItemNotified: received:node:be3981ac-ae2a-4e09-809c-321a1e3bd7eb:localhost:node-05312a3f-9102-4c8a-aa96-a9f0e33495bd:Node 05312a3f-9102-4c8a-aa96-a9f0e33495bd :: false

createNodes 1.444s
2021-01-28 22:09:22 |

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

2021-01-28 22:09:22 | ------------------------------------

2021-01-28 22:09:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05312a3f-9102-4c8a-aa96-a9f0e33495bd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 05312a3f-9102-4c8a-aa96-a9f0e33495bd</title></pubsub></data>

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

2021-01-28 22:09:23 | [Mutex] waiting for: [received:nodes:56023cd6-3ee7-40d6-92c6-ff2d576e7f42:localhost]

2021-01-28 22:09:23 | [Mutex] received everything.

2021-01-28 22:09:23 | [Mutex] isItemNotified: received:node:56023cd6-3ee7-40d6-92c6-ff2d576e7f42:localhost:node-05312a3f-9102-4c8a-aa96-a9f0e33495bd:Node 05312a3f-9102-4c8a-aa96-a9f0e33495bd :: true

createSubnodes 1.035s
2021-01-28 22:09:23 |

2021-01-28 22:09:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:23 | ------------------------------------

2021-01-28 22:09:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7cb88c2f-2918-4275-85a0-c96e0d7063f7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7cb88c2f-2918-4275-85a0-c96e0d7063f7</title></pubsub></data>

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

2021-01-28 22:09:24 | [Mutex] waiting for: [received:nodes:6a39959c-858f-4c3a-b80b-ab139d83736c:localhost]

2021-01-28 22:09:24 | [Mutex] received everything.

2021-01-28 22:09:24 | [Mutex] isItemNotified: received:node:6a39959c-858f-4c3a-b80b-ab139d83736c:localhost:node-7cb88c2f-2918-4275-85a0-c96e0d7063f7:Node 7cb88c2f-2918-4275-85a0-c96e0d7063f7 :: true

deleteNodes 1.027s
2021-01-28 22:09:30 |

2021-01-28 22:09:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:30 | ------------------------------------

2021-01-28 22:09:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7cb88c2f-2918-4275-85a0-c96e0d7063f7</node></data>

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

2021-01-28 22:09:31 | [Mutex] waiting for: [received:nodes:bbc37abe-c953-4bcb-802a-8af7e2f8c0f0:localhost]

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

2021-01-28 22:09:31 | [Mutex] isItemNotified: received:node:bbc37abe-c953-4bcb-802a-8af7e2f8c0f0:localhost:node-7cb88c2f-2918-4275-85a0-c96e0d7063f7:Node 7cb88c2f-2918-4275-85a0-c96e0d7063f7 :: false

deleteSubnodes 1.134s
2021-01-28 22:09:29 |

2021-01-28 22:09:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:29 | ------------------------------------

2021-01-28 22:09:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05312a3f-9102-4c8a-aa96-a9f0e33495bd</node></data>

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

2021-01-28 22:09:30 | [Mutex] waiting for: [received:nodes:fdb96110-b9af-4dfd-ad58-6e47b05f99a7:localhost]

2021-01-28 22:09:30 | [Mutex] received everything.

2021-01-28 22:09:30 | [Mutex] isItemNotified: received:node:fdb96110-b9af-4dfd-ad58-6e47b05f99a7:localhost:node-05312a3f-9102-4c8a-aa96-a9f0e33495bd:Node 05312a3f-9102-4c8a-aa96-a9f0e33495bd :: false

2021-01-28 22:09:30 | [Mutex] waiting for: [received:nodes:37aa68ee-3b62-4f93-9bfa-935ed7d17bc7:localhost]

2021-01-28 22:09:30 | [Mutex] received everything.

2021-01-28 22:09:30 | [Mutex] isItemNotified: received:node:37aa68ee-3b62-4f93-9bfa-935ed7d17bc7:localhost:node-05312a3f-9102-4c8a-aa96-a9f0e33495bd:Node 05312a3f-9102-4c8a-aa96-a9f0e33495bd :: false

publishItemsToNodes 0.252s
2021-01-28 22:09:26 |

2021-01-28 22:09:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:26 | ------------------------------------

2021-01-28 22:09:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-05312a3f-9102-4c8a-aa96-a9f0e33495bd</node><item-id>item-f43b898a-1f01-41b5-8a08-25501e7a1520</item-id><entry><test>item-f43b898a-1f01-41b5-8a08-25501e7a1520</test></entry></data>

2021-01-28 22:09:27 | 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-f43b898a-1f01-41b5-8a08-25501e7a1520</value></item-id></result>

2021-01-28 22:09:27 | [Mutex] received everything.

2021-01-28 22:09:27 | [Mutex] isItemNotified: published:item:notifieditem-f43b898a-1f01-41b5-8a08-25501e7a1520:admin@test-domain.com :: true

retractItemsFromNodes 0.264s
2021-01-28 22:09:27 |

2021-01-28 22:09:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:27 | ------------------------------------

2021-01-28 22:09:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-05312a3f-9102-4c8a-aa96-a9f0e33495bd</node><item-id>item-f43b898a-1f01-41b5-8a08-25501e7a1520</item-id></data>

2021-01-28 22:09:27 | 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-f43b898a-1f01-41b5-8a08-25501e7a1520</value></item-id></result>

2021-01-28 22:09:27 | [Mutex] received everything.

2021-01-28 22:09:27 | [Mutex] isItemNotified: retracted:item:notifieditem-f43b898a-1f01-41b5-8a08-25501e7a1520:admin@test-domain.com :: true

retrieveItemsFromNodes 0.356s
2021-01-28 22:09:27 |

2021-01-28 22:09:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:27 | ------------------------------------

2021-01-28 22:09:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-05312a3f-9102-4c8a-aa96-a9f0e33495bd</node><item-id>item-f43b898a-1f01-41b5-8a08-25501e7a1520</item-id></data>

2021-01-28 22:09:27 | 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-05312a3f-9102-4c8a-aa96-a9f0e33495bd</value></node><item-id label="Item ID" type="text-single"><value>item-f43b898a-1f01-41b5-8a08-25501e7a1520</value></item-id><item label="Item" type="text-multi"><value><item id="item-f43b898a-1f01-41b5-8a08-25501e7a1520"><test>item-f43b898a-1f01-41b5-8a08-25501e7a1520</test></item></value></item></result>

2021-01-28 22:09:27 | [Mutex] notify: [retrieved:item:item-f43b898a-1f01-41b5-8a08-25501e7a1520:payload-matches:true:localhost]

2021-01-28 22:09:27 | [Mutex] received everything.

2021-01-28 22:09:27 | [Mutex] isItemNotified: retrieved:item:item-f43b898a-1f01-41b5-8a08-25501e7a1520:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-01-28 22:09:27 |

2021-01-28 22:09:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:27 | ------------------------------------

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

2021-01-28 22:09:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-05312a3f-9102-4c8a-aa96-a9f0e33495bd</value><value>test</value><value>node-7cb88c2f-2918-4275-85a0-c96e0d7063f7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.056s
2021-01-28 22:09:27 |

2021-01-28 22:09:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:27 | ------------------------------------

2021-01-28 22:09:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-05312a3f-9102-4c8a-aa96-a9f0e33495bd)</node-pattern></data>

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

subscribeNodes 1.196s
2021-01-28 22:09:25 |

2021-01-28 22:09:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:25 | ------------------------------------

2021-01-28 22:09:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-05312a3f-9102-4c8a-aa96-a9f0e33495bd</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.330s
2021-01-28 22:09:27 |

2021-01-28 22:09:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:09:27 | ------------------------------------

2021-01-28 22:09:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-05312a3f-9102-4c8a-aa96-a9f0e33495bd</node><jids><value>admin@test-domain.com</value></jids></data>

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