Generated by TestNG with ReportNG at 22:22 PDT on Thursday 20 October 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.531s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2022-10-20 22:42:10 |

2022-10-20 22:42:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:10 | ------------------------------------

2022-10-20 22:42:10 | [Mutex] waiting for: [configured:node:node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe:node-3b655a8a-6764-4712-94be-e45ffda2da64]

2022-10-20 22:42:11 | [Mutex] received everything.

2022-10-20 22:42:11 | [Mutex] isItemNotified: configured:node:node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe:node-3b655a8a-6764-4712-94be-e45ffda2da64 :: true

2022-10-20 22:42:12 | [Mutex] waiting for: [received:nodes:b5ee530d-c861-48d1-8bff-4e8b22cb665f:localhost]

2022-10-20 22:42:12 | [Mutex] waiting for: [received:nodes:b5ee530d-c861-48d1-8bff-4e8b22cb665f:localhost]

2022-10-20 22:42:12 | [Mutex] received everything.

2022-10-20 22:42:12 | [Mutex] isItemNotified: received:node:b5ee530d-c861-48d1-8bff-4e8b22cb665f:localhost:node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe:Node 046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe :: true

2022-10-20 22:42:12 | [Mutex] waiting for: [received:nodes:17e85820-61ee-47c2-86b9-3f59c71978bc:localhost]

2022-10-20 22:42:12 | [Mutex] received everything.

2022-10-20 22:42:12 | [Mutex] isItemNotified: received:node:17e85820-61ee-47c2-86b9-3f59c71978bc:localhost:node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe:Node 046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe :: false

createNodes 1.411s
2022-10-20 22:42:08 |

2022-10-20 22:42:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:08 | ------------------------------------

2022-10-20 22:42:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe</title></pubsub></data>

2022-10-20 22:42:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-20 22:42:09 | [Mutex] waiting for: [received:nodes:75b1b353-8d20-4a78-b44d-6c94c5fdb8da:localhost]

2022-10-20 22:42:09 | [Mutex] waiting for: [received:nodes:75b1b353-8d20-4a78-b44d-6c94c5fdb8da:localhost]

2022-10-20 22:42:09 | [Mutex] received everything.

2022-10-20 22:42:09 | [Mutex] isItemNotified: received:node:75b1b353-8d20-4a78-b44d-6c94c5fdb8da:localhost:node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe:Node 046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe :: true

createSubnodes 1.023s
2022-10-20 22:42:09 |

2022-10-20 22:42:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:09 | ------------------------------------

2022-10-20 22:42:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3b655a8a-6764-4712-94be-e45ffda2da64</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3b655a8a-6764-4712-94be-e45ffda2da64</title></pubsub></data>

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

2022-10-20 22:42:10 | [Mutex] waiting for: [received:nodes:ab801780-58a8-4a3b-b07d-b1c98ddb8e38:localhost]

2022-10-20 22:42:10 | [Mutex] received everything.

2022-10-20 22:42:10 | [Mutex] isItemNotified: received:node:ab801780-58a8-4a3b-b07d-b1c98ddb8e38:localhost:node-3b655a8a-6764-4712-94be-e45ffda2da64:Node 3b655a8a-6764-4712-94be-e45ffda2da64 :: true

deleteNodes 1.017s
2022-10-20 22:42:16 |

2022-10-20 22:42:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:16 | ------------------------------------

2022-10-20 22:42:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3b655a8a-6764-4712-94be-e45ffda2da64</node></data>

2022-10-20 22:42:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-20 22:42:17 | [Mutex] waiting for: [received:nodes:51b1b0a1-88ae-43d8-8491-9ef664e5ee26:localhost]

2022-10-20 22:42:17 | [Mutex] waiting for: [received:nodes:51b1b0a1-88ae-43d8-8491-9ef664e5ee26:localhost]

2022-10-20 22:42:17 | [Mutex] waiting for: [received:nodes:51b1b0a1-88ae-43d8-8491-9ef664e5ee26:localhost]

2022-10-20 22:42:17 | [Mutex] received everything.

2022-10-20 22:42:17 | [Mutex] isItemNotified: received:node:51b1b0a1-88ae-43d8-8491-9ef664e5ee26:localhost:node-3b655a8a-6764-4712-94be-e45ffda2da64:Node 3b655a8a-6764-4712-94be-e45ffda2da64 :: false

deleteSubnodes 1.123s
2022-10-20 22:42:15 |

2022-10-20 22:42:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:15 | ------------------------------------

2022-10-20 22:42:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe</node></data>

2022-10-20 22:42:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-20 22:42:16 | [Mutex] waiting for: [received:nodes:d9a585d9-8a7e-45f2-8099-ceb1429f7f12:localhost]

2022-10-20 22:42:16 | [Mutex] received everything.

2022-10-20 22:42:16 | [Mutex] isItemNotified: received:node:d9a585d9-8a7e-45f2-8099-ceb1429f7f12:localhost:node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe:Node 046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe :: false

2022-10-20 22:42:16 | [Mutex] waiting for: [received:nodes:f4f79aad-9821-47d6-b8c1-54ff8006b53f:localhost]

2022-10-20 22:42:16 | [Mutex] received everything.

2022-10-20 22:42:16 | [Mutex] isItemNotified: received:node:f4f79aad-9821-47d6-b8c1-54ff8006b53f:localhost:node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe:Node 046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe :: false

publishItemsToNodes 0.214s
2022-10-20 22:42:13 |

2022-10-20 22:42:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:13 | ------------------------------------

2022-10-20 22:42:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe</node><item-id>item-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7</item-id><entry><test>item-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7</test></entry></data>

2022-10-20 22:42:13 | 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-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7</value></item-id></result>

2022-10-20 22:42:13 | [Mutex] received everything.

2022-10-20 22:42:13 | [Mutex] isItemNotified: published:item:notifieditem-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-10-20 22:42:13 |

2022-10-20 22:42:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:13 | ------------------------------------

2022-10-20 22:42:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe</node><item-id>item-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7</item-id></data>

2022-10-20 22:42:13 | 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-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7</value></item-id></result>

2022-10-20 22:42:13 | [Mutex] received everything.

2022-10-20 22:42:13 | [Mutex] isItemNotified: retracted:item:notifieditem-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.183s
2022-10-20 22:42:13 |

2022-10-20 22:42:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:13 | ------------------------------------

2022-10-20 22:42:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe</node><item-id>item-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7</item-id></data>

2022-10-20 22:42:13 | 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-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe</value></node><item-id type="text-single" label="Item ID"><value>item-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7</value></item-id><item type="text-multi" label="Item"><value><item id="item-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7"><test>item-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7</test></item></value></item></result>

2022-10-20 22:42:13 | [Mutex] notify: [retrieved:item:item-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7:payload-matches:true:localhost]

2022-10-20 22:42:13 | [Mutex] received everything.

2022-10-20 22:42:13 | [Mutex] isItemNotified: retrieved:item:item-01f1cfdf-9bf7-4b92-befd-ccfd2a5d4ca7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-20 22:42:13 |

2022-10-20 22:42:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:13 | ------------------------------------

2022-10-20 22:42:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-20 22:42:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe</value><value>test</value><value>node-3b655a8a-6764-4712-94be-e45ffda2da64</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-10-20 22:42:13 |

2022-10-20 22:42:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:13 | ------------------------------------

2022-10-20 22:42:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe)</node-pattern></data>

2022-10-20 22:42:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.143s
2022-10-20 22:42:12 |

2022-10-20 22:42:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:12 | ------------------------------------

2022-10-20 22:42:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.247s
2022-10-20 22:42:13 |

2022-10-20 22:42:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-20 22:42:13 | ------------------------------------

2022-10-20 22:42:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-046b6ce7-7b1d-48e9-a2e1-39ad12b88fbe</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-20 22:42:14 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>