Generated by TestNG with ReportNG at 22:16 PDT on Tuesday 20 June 2023
root@1512af24e4a5 / 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.463s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2023-06-20 22:30:28 |

2023-06-20 22:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:28 | ------------------------------------

2023-06-20 22:30:28 | [Mutex] waiting for: [configured:node:node-94053eeb-1a46-44e3-9e28-8987f0c01427:node-51d6413a-014a-4a15-b86a-a1733d1d6380]

2023-06-20 22:30:28 | [Mutex] received everything.

2023-06-20 22:30:28 | [Mutex] isItemNotified: configured:node:node-94053eeb-1a46-44e3-9e28-8987f0c01427:node-51d6413a-014a-4a15-b86a-a1733d1d6380 :: true

2023-06-20 22:30:29 | [Mutex] waiting for: [received:nodes:3ecfac1d-f034-450c-b893-9a326fb9925f:localhost]

2023-06-20 22:30:29 | [Mutex] received everything.

2023-06-20 22:30:29 | [Mutex] isItemNotified: received:node:3ecfac1d-f034-450c-b893-9a326fb9925f:localhost:node-94053eeb-1a46-44e3-9e28-8987f0c01427:Node 94053eeb-1a46-44e3-9e28-8987f0c01427 :: true

2023-06-20 22:30:29 | [Mutex] waiting for: [received:nodes:af5c274b-5460-4fdd-a0d8-f6085b60cd55:localhost]

2023-06-20 22:30:29 | [Mutex] waiting for: [received:nodes:af5c274b-5460-4fdd-a0d8-f6085b60cd55:localhost]

2023-06-20 22:30:29 | [Mutex] waiting for: [received:nodes:af5c274b-5460-4fdd-a0d8-f6085b60cd55:localhost]

2023-06-20 22:30:29 | [Mutex] waiting for: [received:nodes:af5c274b-5460-4fdd-a0d8-f6085b60cd55:localhost]

2023-06-20 22:30:29 | [Mutex] received everything.

2023-06-20 22:30:29 | [Mutex] isItemNotified: received:node:af5c274b-5460-4fdd-a0d8-f6085b60cd55:localhost:node-94053eeb-1a46-44e3-9e28-8987f0c01427:Node 94053eeb-1a46-44e3-9e28-8987f0c01427 :: false

createNodes 1.426s
2023-06-20 22:30:25 |

2023-06-20 22:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:25 | ------------------------------------

2023-06-20 22:30:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-94053eeb-1a46-44e3-9e28-8987f0c01427</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 94053eeb-1a46-44e3-9e28-8987f0c01427</title></pubsub></data>

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

2023-06-20 22:30:27 | [Mutex] waiting for: [received:nodes:9ae7af7b-7f9b-4c03-82e6-7063fe51db41:localhost]

2023-06-20 22:30:27 | [Mutex] waiting for: [received:nodes:9ae7af7b-7f9b-4c03-82e6-7063fe51db41:localhost]

2023-06-20 22:30:27 | [Mutex] waiting for: [received:nodes:9ae7af7b-7f9b-4c03-82e6-7063fe51db41:localhost]

2023-06-20 22:30:27 | [Mutex] waiting for: [received:nodes:9ae7af7b-7f9b-4c03-82e6-7063fe51db41:localhost]

2023-06-20 22:30:27 | [Mutex] received everything.

2023-06-20 22:30:27 | [Mutex] isItemNotified: received:node:9ae7af7b-7f9b-4c03-82e6-7063fe51db41:localhost:node-94053eeb-1a46-44e3-9e28-8987f0c01427:Node 94053eeb-1a46-44e3-9e28-8987f0c01427 :: true

createSubnodes 1.020s
2023-06-20 22:30:27 |

2023-06-20 22:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:27 | ------------------------------------

2023-06-20 22:30:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-51d6413a-014a-4a15-b86a-a1733d1d6380</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 51d6413a-014a-4a15-b86a-a1733d1d6380</title></pubsub></data>

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

2023-06-20 22:30:28 | [Mutex] waiting for: [received:nodes:4563c1bf-b88b-4017-ac3d-9412e55ffbdd:localhost]

2023-06-20 22:30:28 | [Mutex] waiting for: [received:nodes:4563c1bf-b88b-4017-ac3d-9412e55ffbdd:localhost]

2023-06-20 22:30:28 | [Mutex] waiting for: [received:nodes:4563c1bf-b88b-4017-ac3d-9412e55ffbdd:localhost]

2023-06-20 22:30:28 | [Mutex] waiting for: [received:nodes:4563c1bf-b88b-4017-ac3d-9412e55ffbdd:localhost]

2023-06-20 22:30:28 | [Mutex] waiting for: [received:nodes:4563c1bf-b88b-4017-ac3d-9412e55ffbdd:localhost]

2023-06-20 22:30:28 | [Mutex] received everything.

2023-06-20 22:30:28 | [Mutex] isItemNotified: received:node:4563c1bf-b88b-4017-ac3d-9412e55ffbdd:localhost:node-51d6413a-014a-4a15-b86a-a1733d1d6380:Node 51d6413a-014a-4a15-b86a-a1733d1d6380 :: true

deleteNodes 1.017s
2023-06-20 22:30:33 |

2023-06-20 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:33 | ------------------------------------

2023-06-20 22:30:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-51d6413a-014a-4a15-b86a-a1733d1d6380</node></data>

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

2023-06-20 22:30:34 | [Mutex] waiting for: [received:nodes:02943674-16fd-4acd-89fa-aa8e3caa0524:localhost]

2023-06-20 22:30:34 | [Mutex] waiting for: [received:nodes:02943674-16fd-4acd-89fa-aa8e3caa0524:localhost]

2023-06-20 22:30:34 | [Mutex] received everything.

2023-06-20 22:30:34 | [Mutex] isItemNotified: received:node:02943674-16fd-4acd-89fa-aa8e3caa0524:localhost:node-51d6413a-014a-4a15-b86a-a1733d1d6380:Node 51d6413a-014a-4a15-b86a-a1733d1d6380 :: false

deleteSubnodes 1.125s
2023-06-20 22:30:32 |

2023-06-20 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:32 | ------------------------------------

2023-06-20 22:30:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-94053eeb-1a46-44e3-9e28-8987f0c01427</node></data>

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

2023-06-20 22:30:33 | [Mutex] waiting for: [received:nodes:9824fe8a-ff6a-44bf-8fb7-a811f2f3c1f9:localhost]

2023-06-20 22:30:33 | [Mutex] waiting for: [received:nodes:9824fe8a-ff6a-44bf-8fb7-a811f2f3c1f9:localhost]

2023-06-20 22:30:33 | [Mutex] waiting for: [received:nodes:9824fe8a-ff6a-44bf-8fb7-a811f2f3c1f9:localhost]

2023-06-20 22:30:33 | [Mutex] received everything.

2023-06-20 22:30:33 | [Mutex] isItemNotified: received:node:9824fe8a-ff6a-44bf-8fb7-a811f2f3c1f9:localhost:node-94053eeb-1a46-44e3-9e28-8987f0c01427:Node 94053eeb-1a46-44e3-9e28-8987f0c01427 :: false

2023-06-20 22:30:33 | [Mutex] waiting for: [received:nodes:873e0833-c094-45b0-a5d0-19dc84cc89ec:localhost]

2023-06-20 22:30:33 | [Mutex] received everything.

2023-06-20 22:30:33 | [Mutex] isItemNotified: received:node:873e0833-c094-45b0-a5d0-19dc84cc89ec:localhost:node-94053eeb-1a46-44e3-9e28-8987f0c01427:Node 94053eeb-1a46-44e3-9e28-8987f0c01427 :: false

publishItemsToNodes 0.193s
2023-06-20 22:30:30 |

2023-06-20 22:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:30 | ------------------------------------

2023-06-20 22:30:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-94053eeb-1a46-44e3-9e28-8987f0c01427</node><item-id>item-dc972781-3cb7-40ee-96b1-08ea1b729f81</item-id><entry><test>item-dc972781-3cb7-40ee-96b1-08ea1b729f81</test></entry></data>

2023-06-20 22:30:30 | 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-dc972781-3cb7-40ee-96b1-08ea1b729f81</value></item-id></result>

2023-06-20 22:30:30 | [Mutex] waiting for: [published:item:notifieditem-dc972781-3cb7-40ee-96b1-08ea1b729f81:admin@test-domain.com]

2023-06-20 22:30:30 | [Mutex] received everything.

2023-06-20 22:30:30 | [Mutex] isItemNotified: published:item:notifieditem-dc972781-3cb7-40ee-96b1-08ea1b729f81:admin@test-domain.com :: true

retractItemsFromNodes 0.239s
2023-06-20 22:30:31 |

2023-06-20 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:31 | ------------------------------------

2023-06-20 22:30:31 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-94053eeb-1a46-44e3-9e28-8987f0c01427</node><item-id>item-dc972781-3cb7-40ee-96b1-08ea1b729f81</item-id></data>

2023-06-20 22:30:31 | 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-dc972781-3cb7-40ee-96b1-08ea1b729f81</value></item-id></result>

2023-06-20 22:30:31 | [Mutex] received everything.

2023-06-20 22:30:31 | [Mutex] isItemNotified: retracted:item:notifieditem-dc972781-3cb7-40ee-96b1-08ea1b729f81:admin@test-domain.com :: true

retrieveItemsFromNodes 0.172s
2023-06-20 22:30:30 |

2023-06-20 22:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:30 | ------------------------------------

2023-06-20 22:30:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-94053eeb-1a46-44e3-9e28-8987f0c01427</node><item-id>item-dc972781-3cb7-40ee-96b1-08ea1b729f81</item-id></data>

2023-06-20 22:30:31 | 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-94053eeb-1a46-44e3-9e28-8987f0c01427</value></node><item-id type="text-single" label="Item ID"><value>item-dc972781-3cb7-40ee-96b1-08ea1b729f81</value></item-id><item type="text-multi" label="Item"><value><item id="item-dc972781-3cb7-40ee-96b1-08ea1b729f81"><test>item-dc972781-3cb7-40ee-96b1-08ea1b729f81</test></item></value></item></result>

2023-06-20 22:30:31 | [Mutex] notify: [retrieved:item:item-dc972781-3cb7-40ee-96b1-08ea1b729f81:payload-matches:true:localhost]

2023-06-20 22:30:31 | [Mutex] received everything.

2023-06-20 22:30:31 | [Mutex] isItemNotified: retrieved:item:item-dc972781-3cb7-40ee-96b1-08ea1b729f81:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-06-20 22:30:31 |

2023-06-20 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:31 | ------------------------------------

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

2023-06-20 22:30:31 | 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-94053eeb-1a46-44e3-9e28-8987f0c01427</value><value>node-51d6413a-014a-4a15-b86a-a1733d1d6380</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-06-20 22:30:31 |

2023-06-20 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:31 | ------------------------------------

2023-06-20 22:30:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-94053eeb-1a46-44e3-9e28-8987f0c01427)</node-pattern></data>

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

subscribeNodes 1.134s
2023-06-20 22:30:29 |

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

2023-06-20 22:30:29 | ------------------------------------

2023-06-20 22:30:29 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-94053eeb-1a46-44e3-9e28-8987f0c01427</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.287s
2023-06-20 22:30:31 |

2023-06-20 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-20 22:30:31 | ------------------------------------

2023-06-20 22:30:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-94053eeb-1a46-44e3-9e28-8987f0c01427</node><jids><value>admin@test-domain.com</value></jids></data>

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