Generated by TestNG with ReportNG at 04:16 PST on Friday 05 March 2021
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.278s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2021-03-05 04:30:38 |

2021-03-05 04:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:38 | ------------------------------------

2021-03-05 04:30:38 | [Mutex] waiting for: [configured:node:node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d:node-9dd93dd8-4134-473c-81f3-6d8125fb2633]

2021-03-05 04:30:38 | [Mutex] received everything.

2021-03-05 04:30:38 | [Mutex] isItemNotified: configured:node:node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d:node-9dd93dd8-4134-473c-81f3-6d8125fb2633 :: true

2021-03-05 04:30:39 | [Mutex] waiting for: [received:nodes:3a0075a3-c719-4831-939c-9eccadbd6631:localhost]

2021-03-05 04:30:39 | [Mutex] received everything.

2021-03-05 04:30:39 | [Mutex] isItemNotified: received:node:3a0075a3-c719-4831-939c-9eccadbd6631:localhost:node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d:Node 7c4622aa-1ee7-46e3-9bb6-d9daaa47925d :: true

2021-03-05 04:30:39 | [Mutex] waiting for: [received:nodes:afe50c3d-061b-43e9-aea7-31dfce40e0e0:localhost]

2021-03-05 04:30:39 | [Mutex] waiting for: [received:nodes:afe50c3d-061b-43e9-aea7-31dfce40e0e0:localhost]

2021-03-05 04:30:39 | [Mutex] received everything.

2021-03-05 04:30:39 | [Mutex] isItemNotified: received:node:afe50c3d-061b-43e9-aea7-31dfce40e0e0:localhost:node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d:Node 7c4622aa-1ee7-46e3-9bb6-d9daaa47925d :: false

createNodes 1.595s
2021-03-05 04:30:35 |

2021-03-05 04:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:35 | ------------------------------------

2021-03-05 04:30:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7c4622aa-1ee7-46e3-9bb6-d9daaa47925d</title></pubsub></data>

2021-03-05 04:30:36 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:30:37 | [Mutex] waiting for: [received:nodes:b7be3d17-5222-4742-bb82-1252b16d4f06:localhost]

2021-03-05 04:30:37 | [Mutex] received everything.

2021-03-05 04:30:37 | [Mutex] isItemNotified: received:node:b7be3d17-5222-4742-bb82-1252b16d4f06:localhost:node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d:Node 7c4622aa-1ee7-46e3-9bb6-d9daaa47925d :: true

createSubnodes 1.025s
2021-03-05 04:30:37 |

2021-03-05 04:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:37 | ------------------------------------

2021-03-05 04:30:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9dd93dd8-4134-473c-81f3-6d8125fb2633</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9dd93dd8-4134-473c-81f3-6d8125fb2633</title></pubsub></data>

2021-03-05 04:30:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:30:38 | [Mutex] waiting for: [received:nodes:1a41123f-b2b5-4162-9c14-6625350a5f3d:localhost]

2021-03-05 04:30:38 | [Mutex] received everything.

2021-03-05 04:30:38 | [Mutex] isItemNotified: received:node:1a41123f-b2b5-4162-9c14-6625350a5f3d:localhost:node-9dd93dd8-4134-473c-81f3-6d8125fb2633:Node 9dd93dd8-4134-473c-81f3-6d8125fb2633 :: true

deleteNodes 1.022s
2021-03-05 04:30:43 |

2021-03-05 04:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:43 | ------------------------------------

2021-03-05 04:30:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9dd93dd8-4134-473c-81f3-6d8125fb2633</node></data>

2021-03-05 04:30:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:30:44 | [Mutex] waiting for: [received:nodes:d706f3f4-5140-430d-8c33-bf5bc63be603:localhost]

2021-03-05 04:30:44 | [Mutex] received everything.

2021-03-05 04:30:44 | [Mutex] isItemNotified: received:node:d706f3f4-5140-430d-8c33-bf5bc63be603:localhost:node-9dd93dd8-4134-473c-81f3-6d8125fb2633:Node 9dd93dd8-4134-473c-81f3-6d8125fb2633 :: false

deleteSubnodes 1.140s
2021-03-05 04:30:42 |

2021-03-05 04:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:42 | ------------------------------------

2021-03-05 04:30:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d</node></data>

2021-03-05 04:30:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:30:43 | [Mutex] waiting for: [received:nodes:fe7c780a-337e-4338-aada-d08ea613d9a3:localhost]

2021-03-05 04:30:43 | [Mutex] received everything.

2021-03-05 04:30:43 | [Mutex] isItemNotified: received:node:fe7c780a-337e-4338-aada-d08ea613d9a3:localhost:node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d:Node 7c4622aa-1ee7-46e3-9bb6-d9daaa47925d :: false

2021-03-05 04:30:43 | [Mutex] waiting for: [received:nodes:42b3e35d-a199-44ad-af48-ea5c664ce4be:localhost]

2021-03-05 04:30:43 | [Mutex] received everything.

2021-03-05 04:30:43 | [Mutex] isItemNotified: received:node:42b3e35d-a199-44ad-af48-ea5c664ce4be:localhost:node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d:Node 7c4622aa-1ee7-46e3-9bb6-d9daaa47925d :: false

publishItemsToNodes 0.214s
2021-03-05 04:30:40 |

2021-03-05 04:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:40 | ------------------------------------

2021-03-05 04:30:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d</node><item-id>item-2239643a-f489-4bd3-8d2c-403ce7e2f9ec</item-id><entry><test>item-2239643a-f489-4bd3-8d2c-403ce7e2f9ec</test></entry></data>

2021-03-05 04:30:40 | 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-2239643a-f489-4bd3-8d2c-403ce7e2f9ec</value></item-id></result>

2021-03-05 04:30:40 | [Mutex] received everything.

2021-03-05 04:30:40 | [Mutex] isItemNotified: published:item:notifieditem-2239643a-f489-4bd3-8d2c-403ce7e2f9ec:admin@test-domain.com :: true

retractItemsFromNodes 0.343s
2021-03-05 04:30:41 |

2021-03-05 04:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:41 | ------------------------------------

2021-03-05 04:30:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d</node><item-id>item-2239643a-f489-4bd3-8d2c-403ce7e2f9ec</item-id></data>

2021-03-05 04:30:41 | 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-2239643a-f489-4bd3-8d2c-403ce7e2f9ec</value></item-id></result>

2021-03-05 04:30:41 | [Mutex] received everything.

2021-03-05 04:30:41 | [Mutex] isItemNotified: retracted:item:notifieditem-2239643a-f489-4bd3-8d2c-403ce7e2f9ec:admin@test-domain.com :: true

retrieveItemsFromNodes 0.400s
2021-03-05 04:30:40 |

2021-03-05 04:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:40 | ------------------------------------

2021-03-05 04:30:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d</node><item-id>item-2239643a-f489-4bd3-8d2c-403ce7e2f9ec</item-id></data>

2021-03-05 04:30:41 | 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-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d</value></node><item-id label="Item ID" type="text-single"><value>item-2239643a-f489-4bd3-8d2c-403ce7e2f9ec</value></item-id><item label="Item" type="text-multi"><value><item id="item-2239643a-f489-4bd3-8d2c-403ce7e2f9ec"><test>item-2239643a-f489-4bd3-8d2c-403ce7e2f9ec</test></item></value></item></result>

2021-03-05 04:30:41 | [Mutex] notify: [retrieved:item:item-2239643a-f489-4bd3-8d2c-403ce7e2f9ec:payload-matches:true:localhost]

2021-03-05 04:30:41 | [Mutex] received everything.

2021-03-05 04:30:41 | [Mutex] isItemNotified: retrieved:item:item-2239643a-f489-4bd3-8d2c-403ce7e2f9ec:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-05 04:30:41 |

2021-03-05 04:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:41 | ------------------------------------

2021-03-05 04:30:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-05 04:30:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d</value><value>node-9dd93dd8-4134-473c-81f3-6d8125fb2633</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-03-05 04:30:41 |

2021-03-05 04:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:41 | ------------------------------------

2021-03-05 04:30:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d)</node-pattern></data>

2021-03-05 04:30:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.120s
2021-03-05 04:30:39 |

2021-03-05 04:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:39 | ------------------------------------

2021-03-05 04:30:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-05 04:30:39 | 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
2021-03-05 04:30:41 |

2021-03-05 04:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:30:41 | ------------------------------------

2021-03-05 04:30:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7c4622aa-1ee7-46e3-9bb6-d9daaa47925d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-05 04:30:41 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>