Generated by TestNG with ReportNG at 22:16 PDT on Monday 29 May 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.491s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2023-05-29 22:30:52 |

2023-05-29 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:52 | ------------------------------------

2023-05-29 22:30:52 | [Mutex] waiting for: [configured:node:node-8b84e74f-13b2-47a9-9345-e69d156ea287:node-4bb2eb8b-44cc-4c34-9d7c-3790c322c7f0]

2023-05-29 22:30:52 | [Mutex] received everything.

2023-05-29 22:30:52 | [Mutex] isItemNotified: configured:node:node-8b84e74f-13b2-47a9-9345-e69d156ea287:node-4bb2eb8b-44cc-4c34-9d7c-3790c322c7f0 :: true

2023-05-29 22:30:53 | [Mutex] waiting for: [received:nodes:0d9dcccd-fd18-4fd5-899b-914128c1aab1:localhost]

2023-05-29 22:30:53 | [Mutex] received everything.

2023-05-29 22:30:53 | [Mutex] isItemNotified: received:node:0d9dcccd-fd18-4fd5-899b-914128c1aab1:localhost:node-8b84e74f-13b2-47a9-9345-e69d156ea287:Node 8b84e74f-13b2-47a9-9345-e69d156ea287 :: true

2023-05-29 22:30:53 | [Mutex] waiting for: [received:nodes:91b10e21-67b4-4909-919d-22acf5e6ccf3:localhost]

2023-05-29 22:30:53 | [Mutex] waiting for: [received:nodes:91b10e21-67b4-4909-919d-22acf5e6ccf3:localhost]

2023-05-29 22:30:53 | [Mutex] waiting for: [received:nodes:91b10e21-67b4-4909-919d-22acf5e6ccf3:localhost]

2023-05-29 22:30:53 | [Mutex] waiting for: [received:nodes:91b10e21-67b4-4909-919d-22acf5e6ccf3:localhost]

2023-05-29 22:30:53 | [Mutex] received everything.

2023-05-29 22:30:53 | [Mutex] isItemNotified: received:node:91b10e21-67b4-4909-919d-22acf5e6ccf3:localhost:node-8b84e74f-13b2-47a9-9345-e69d156ea287:Node 8b84e74f-13b2-47a9-9345-e69d156ea287 :: false

createNodes 1.458s
2023-05-29 22:30:49 |

2023-05-29 22:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:49 | ------------------------------------

2023-05-29 22:30:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8b84e74f-13b2-47a9-9345-e69d156ea287</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8b84e74f-13b2-47a9-9345-e69d156ea287</title></pubsub></data>

2023-05-29 22:30:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-29 22:30:51 | [Mutex] waiting for: [received:nodes:5e0faab0-6302-41b7-8bb1-4127b3ff1924:localhost]

2023-05-29 22:30:51 | [Mutex] waiting for: [received:nodes:5e0faab0-6302-41b7-8bb1-4127b3ff1924:localhost]

2023-05-29 22:30:51 | [Mutex] waiting for: [received:nodes:5e0faab0-6302-41b7-8bb1-4127b3ff1924:localhost]

2023-05-29 22:30:51 | [Mutex] received everything.

2023-05-29 22:30:51 | [Mutex] isItemNotified: received:node:5e0faab0-6302-41b7-8bb1-4127b3ff1924:localhost:node-8b84e74f-13b2-47a9-9345-e69d156ea287:Node 8b84e74f-13b2-47a9-9345-e69d156ea287 :: true

createSubnodes 1.026s
2023-05-29 22:30:51 |

2023-05-29 22:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:51 | ------------------------------------

2023-05-29 22:30:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4bb2eb8b-44cc-4c34-9d7c-3790c322c7f0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4bb2eb8b-44cc-4c34-9d7c-3790c322c7f0</title></pubsub></data>

2023-05-29 22:30:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-29 22:30:52 | [Mutex] waiting for: [received:nodes:c3d41634-3b44-4e7b-b266-9605bfc54428:localhost]

2023-05-29 22:30:52 | [Mutex] waiting for: [received:nodes:c3d41634-3b44-4e7b-b266-9605bfc54428:localhost]

2023-05-29 22:30:52 | [Mutex] waiting for: [received:nodes:c3d41634-3b44-4e7b-b266-9605bfc54428:localhost]

2023-05-29 22:30:52 | [Mutex] received everything.

2023-05-29 22:30:52 | [Mutex] isItemNotified: received:node:c3d41634-3b44-4e7b-b266-9605bfc54428:localhost:node-4bb2eb8b-44cc-4c34-9d7c-3790c322c7f0:Node 4bb2eb8b-44cc-4c34-9d7c-3790c322c7f0 :: true

deleteNodes 1.016s
2023-05-29 22:30:57 |

2023-05-29 22:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:57 | ------------------------------------

2023-05-29 22:30:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4bb2eb8b-44cc-4c34-9d7c-3790c322c7f0</node></data>

2023-05-29 22:30:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-29 22:30:58 | [Mutex] waiting for: [received:nodes:4d3775e9-0e59-4860-ab3b-7098bec8c151:localhost]

2023-05-29 22:30:58 | [Mutex] waiting for: [received:nodes:4d3775e9-0e59-4860-ab3b-7098bec8c151:localhost]

2023-05-29 22:30:58 | [Mutex] waiting for: [received:nodes:4d3775e9-0e59-4860-ab3b-7098bec8c151:localhost]

2023-05-29 22:30:58 | [Mutex] received everything.

2023-05-29 22:30:58 | [Mutex] isItemNotified: received:node:4d3775e9-0e59-4860-ab3b-7098bec8c151:localhost:node-4bb2eb8b-44cc-4c34-9d7c-3790c322c7f0:Node 4bb2eb8b-44cc-4c34-9d7c-3790c322c7f0 :: false

deleteSubnodes 1.117s
2023-05-29 22:30:56 |

2023-05-29 22:30:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:56 | ------------------------------------

2023-05-29 22:30:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8b84e74f-13b2-47a9-9345-e69d156ea287</node></data>

2023-05-29 22:30:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-29 22:30:57 | [Mutex] waiting for: [received:nodes:1296b4c6-28e7-4568-8f31-8dfd8bd0d1dc:localhost]

2023-05-29 22:30:57 | [Mutex] waiting for: [received:nodes:1296b4c6-28e7-4568-8f31-8dfd8bd0d1dc:localhost]

2023-05-29 22:30:57 | [Mutex] waiting for: [received:nodes:1296b4c6-28e7-4568-8f31-8dfd8bd0d1dc:localhost]

2023-05-29 22:30:57 | [Mutex] waiting for: [received:nodes:1296b4c6-28e7-4568-8f31-8dfd8bd0d1dc:localhost]

2023-05-29 22:30:57 | [Mutex] received everything.

2023-05-29 22:30:57 | [Mutex] isItemNotified: received:node:1296b4c6-28e7-4568-8f31-8dfd8bd0d1dc:localhost:node-8b84e74f-13b2-47a9-9345-e69d156ea287:Node 8b84e74f-13b2-47a9-9345-e69d156ea287 :: false

2023-05-29 22:30:57 | [Mutex] waiting for: [received:nodes:0364287e-8070-4748-8bc1-d8762b5fb183:localhost]

2023-05-29 22:30:57 | [Mutex] received everything.

2023-05-29 22:30:57 | [Mutex] isItemNotified: received:node:0364287e-8070-4748-8bc1-d8762b5fb183:localhost:node-8b84e74f-13b2-47a9-9345-e69d156ea287:Node 8b84e74f-13b2-47a9-9345-e69d156ea287 :: false

publishItemsToNodes 0.275s
2023-05-29 22:30:54 |

2023-05-29 22:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:54 | ------------------------------------

2023-05-29 22:30:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8b84e74f-13b2-47a9-9345-e69d156ea287</node><item-id>item-ee91042a-5b91-45b4-b130-7b2c2a464d09</item-id><entry><test>item-ee91042a-5b91-45b4-b130-7b2c2a464d09</test></entry></data>

2023-05-29 22:30:54 | 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-ee91042a-5b91-45b4-b130-7b2c2a464d09</value></item-id></result>

2023-05-29 22:30:54 | [Mutex] received everything.

2023-05-29 22:30:54 | [Mutex] isItemNotified: published:item:notifieditem-ee91042a-5b91-45b4-b130-7b2c2a464d09:admin@test-domain.com :: true

retractItemsFromNodes 0.256s
2023-05-29 22:30:54 |

2023-05-29 22:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:54 | ------------------------------------

2023-05-29 22:30:54 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8b84e74f-13b2-47a9-9345-e69d156ea287</node><item-id>item-ee91042a-5b91-45b4-b130-7b2c2a464d09</item-id></data>

2023-05-29 22:30:55 | 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-ee91042a-5b91-45b4-b130-7b2c2a464d09</value></item-id></result>

2023-05-29 22:30:55 | [Mutex] received everything.

2023-05-29 22:30:55 | [Mutex] isItemNotified: retracted:item:notifieditem-ee91042a-5b91-45b4-b130-7b2c2a464d09:admin@test-domain.com :: true

retrieveItemsFromNodes 0.198s
2023-05-29 22:30:54 |

2023-05-29 22:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:54 | ------------------------------------

2023-05-29 22:30:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8b84e74f-13b2-47a9-9345-e69d156ea287</node><item-id>item-ee91042a-5b91-45b4-b130-7b2c2a464d09</item-id></data>

2023-05-29 22:30:54 | 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-8b84e74f-13b2-47a9-9345-e69d156ea287</value></node><item-id label="Item ID" type="text-single"><value>item-ee91042a-5b91-45b4-b130-7b2c2a464d09</value></item-id><item label="Item" type="text-multi"><value><item id="item-ee91042a-5b91-45b4-b130-7b2c2a464d09"><test>item-ee91042a-5b91-45b4-b130-7b2c2a464d09</test></item></value></item></result>

2023-05-29 22:30:54 | [Mutex] notify: [retrieved:item:item-ee91042a-5b91-45b4-b130-7b2c2a464d09:payload-matches:true:localhost]

2023-05-29 22:30:54 | [Mutex] received everything.

2023-05-29 22:30:54 | [Mutex] isItemNotified: retrieved:item:item-ee91042a-5b91-45b4-b130-7b2c2a464d09:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-05-29 22:30:54 |

2023-05-29 22:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:54 | ------------------------------------

2023-05-29 22:30:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-05-29 22:30:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-8b84e74f-13b2-47a9-9345-e69d156ea287</value><value>test</value><value>node-4bb2eb8b-44cc-4c34-9d7c-3790c322c7f0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-05-29 22:30:54 |

2023-05-29 22:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:54 | ------------------------------------

2023-05-29 22:30:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8b84e74f-13b2-47a9-9345-e69d156ea287)</node-pattern></data>

2023-05-29 22:30:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.156s
2023-05-29 22:30:53 |

2023-05-29 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:53 | ------------------------------------

2023-05-29 22:30:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8b84e74f-13b2-47a9-9345-e69d156ea287</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.199s
2023-05-29 22:30:55 |

2023-05-29 22:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:30:55 | ------------------------------------

2023-05-29 22:30:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8b84e74f-13b2-47a9-9345-e69d156ea287</node><jids><value>admin@test-domain.com</value></jids></data>

2023-05-29 22:30:55 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>