Generated by TestNG with ReportNG at 22:16 PDT on Monday 31 July 2023
root@7962bf290299 / Java 17.0.7 (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.335s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2023-07-31 22:31:21 |

2023-07-31 22:31:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:21 | ------------------------------------

2023-07-31 22:31:21 | [Mutex] waiting for: [configured:node:node-bd72c391-dbcd-464e-8d71-551842d050f2:node-9d9902c3-ae5b-4f30-bb51-21c4344376dc]

2023-07-31 22:31:21 | [Mutex] received everything.

2023-07-31 22:31:21 | [Mutex] isItemNotified: configured:node:node-bd72c391-dbcd-464e-8d71-551842d050f2:node-9d9902c3-ae5b-4f30-bb51-21c4344376dc :: true

2023-07-31 22:31:22 | [Mutex] waiting for: [received:nodes:26c08a04-345c-45aa-87b7-19c9718a7528:localhost]

2023-07-31 22:31:22 | [Mutex] received everything.

2023-07-31 22:31:22 | [Mutex] isItemNotified: received:node:26c08a04-345c-45aa-87b7-19c9718a7528:localhost:node-bd72c391-dbcd-464e-8d71-551842d050f2:Node bd72c391-dbcd-464e-8d71-551842d050f2 :: true

2023-07-31 22:31:22 | [Mutex] waiting for: [received:nodes:5f7c017c-9cd7-4dcb-b0d8-0543b6c8742d:localhost]

2023-07-31 22:31:22 | [Mutex] waiting for: [received:nodes:5f7c017c-9cd7-4dcb-b0d8-0543b6c8742d:localhost]

2023-07-31 22:31:22 | [Mutex] waiting for: [received:nodes:5f7c017c-9cd7-4dcb-b0d8-0543b6c8742d:localhost]

2023-07-31 22:31:22 | [Mutex] received everything.

2023-07-31 22:31:22 | [Mutex] isItemNotified: received:node:5f7c017c-9cd7-4dcb-b0d8-0543b6c8742d:localhost:node-bd72c391-dbcd-464e-8d71-551842d050f2:Node bd72c391-dbcd-464e-8d71-551842d050f2 :: false

createNodes 1.407s
2023-07-31 22:31:19 |

2023-07-31 22:31:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:19 | ------------------------------------

2023-07-31 22:31:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bd72c391-dbcd-464e-8d71-551842d050f2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bd72c391-dbcd-464e-8d71-551842d050f2</title></pubsub></data>

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

2023-07-31 22:31:20 | [Mutex] waiting for: [received:nodes:efeba092-74e5-4f48-9752-6367b654ec85:localhost]

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

2023-07-31 22:31:20 | [Mutex] isItemNotified: received:node:efeba092-74e5-4f48-9752-6367b654ec85:localhost:node-bd72c391-dbcd-464e-8d71-551842d050f2:Node bd72c391-dbcd-464e-8d71-551842d050f2 :: true

createSubnodes 1.027s
2023-07-31 22:31:20 |

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

2023-07-31 22:31:20 | ------------------------------------

2023-07-31 22:31:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9d9902c3-ae5b-4f30-bb51-21c4344376dc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9d9902c3-ae5b-4f30-bb51-21c4344376dc</title></pubsub></data>

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

2023-07-31 22:31:21 | [Mutex] waiting for: [received:nodes:8bb6b62f-a51d-432f-b8b2-adef1ff7ca60:localhost]

2023-07-31 22:31:21 | [Mutex] waiting for: [received:nodes:8bb6b62f-a51d-432f-b8b2-adef1ff7ca60:localhost]

2023-07-31 22:31:21 | [Mutex] waiting for: [received:nodes:8bb6b62f-a51d-432f-b8b2-adef1ff7ca60:localhost]

2023-07-31 22:31:21 | [Mutex] waiting for: [received:nodes:8bb6b62f-a51d-432f-b8b2-adef1ff7ca60:localhost]

2023-07-31 22:31:21 | [Mutex] waiting for: [received:nodes:8bb6b62f-a51d-432f-b8b2-adef1ff7ca60:localhost]

2023-07-31 22:31:21 | [Mutex] received everything.

2023-07-31 22:31:21 | [Mutex] isItemNotified: received:node:8bb6b62f-a51d-432f-b8b2-adef1ff7ca60:localhost:node-9d9902c3-ae5b-4f30-bb51-21c4344376dc:Node 9d9902c3-ae5b-4f30-bb51-21c4344376dc :: true

deleteNodes 1.027s
2023-07-31 22:31:27 |

2023-07-31 22:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:27 | ------------------------------------

2023-07-31 22:31:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9d9902c3-ae5b-4f30-bb51-21c4344376dc</node></data>

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

2023-07-31 22:31:28 | [Mutex] waiting for: [received:nodes:c89fa4ba-ed6f-45bb-945f-d4ee4436512a:localhost]

2023-07-31 22:31:28 | [Mutex] received everything.

2023-07-31 22:31:28 | [Mutex] isItemNotified: received:node:c89fa4ba-ed6f-45bb-945f-d4ee4436512a:localhost:node-9d9902c3-ae5b-4f30-bb51-21c4344376dc:Node 9d9902c3-ae5b-4f30-bb51-21c4344376dc :: false

deleteSubnodes 1.107s
2023-07-31 22:31:26 |

2023-07-31 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:26 | ------------------------------------

2023-07-31 22:31:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bd72c391-dbcd-464e-8d71-551842d050f2</node></data>

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

2023-07-31 22:31:27 | [Mutex] waiting for: [received:nodes:528d16a9-c829-41a3-97f2-26e90bbcaba5:localhost]

2023-07-31 22:31:27 | [Mutex] waiting for: [received:nodes:528d16a9-c829-41a3-97f2-26e90bbcaba5:localhost]

2023-07-31 22:31:27 | [Mutex] waiting for: [received:nodes:528d16a9-c829-41a3-97f2-26e90bbcaba5:localhost]

2023-07-31 22:31:27 | [Mutex] waiting for: [received:nodes:528d16a9-c829-41a3-97f2-26e90bbcaba5:localhost]

2023-07-31 22:31:27 | [Mutex] received everything.

2023-07-31 22:31:27 | [Mutex] isItemNotified: received:node:528d16a9-c829-41a3-97f2-26e90bbcaba5:localhost:node-bd72c391-dbcd-464e-8d71-551842d050f2:Node bd72c391-dbcd-464e-8d71-551842d050f2 :: false

2023-07-31 22:31:27 | [Mutex] waiting for: [received:nodes:36aa2cf0-1ad2-47d1-9d2b-b61e959d7d77:localhost]

2023-07-31 22:31:27 | [Mutex] received everything.

2023-07-31 22:31:27 | [Mutex] isItemNotified: received:node:36aa2cf0-1ad2-47d1-9d2b-b61e959d7d77:localhost:node-bd72c391-dbcd-464e-8d71-551842d050f2:Node bd72c391-dbcd-464e-8d71-551842d050f2 :: false

publishItemsToNodes 0.166s
2023-07-31 22:31:24 |

2023-07-31 22:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:24 | ------------------------------------

2023-07-31 22:31:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bd72c391-dbcd-464e-8d71-551842d050f2</node><item-id>item-9da81f95-5e1a-434c-a1ed-40935d44eff0</item-id><entry><test>item-9da81f95-5e1a-434c-a1ed-40935d44eff0</test></entry></data>

2023-07-31 22:31:24 | 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-9da81f95-5e1a-434c-a1ed-40935d44eff0</value></item-id></result>

2023-07-31 22:31:24 | [Mutex] received everything.

2023-07-31 22:31:24 | [Mutex] isItemNotified: published:item:notifieditem-9da81f95-5e1a-434c-a1ed-40935d44eff0:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2023-07-31 22:31:24 |

2023-07-31 22:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:24 | ------------------------------------

2023-07-31 22:31:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bd72c391-dbcd-464e-8d71-551842d050f2</node><item-id>item-9da81f95-5e1a-434c-a1ed-40935d44eff0</item-id></data>

2023-07-31 22:31:24 | 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-9da81f95-5e1a-434c-a1ed-40935d44eff0</value></item-id></result>

2023-07-31 22:31:24 | [Mutex] received everything.

2023-07-31 22:31:24 | [Mutex] isItemNotified: retracted:item:notifieditem-9da81f95-5e1a-434c-a1ed-40935d44eff0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.225s
2023-07-31 22:31:24 |

2023-07-31 22:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:24 | ------------------------------------

2023-07-31 22:31:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bd72c391-dbcd-464e-8d71-551842d050f2</node><item-id>item-9da81f95-5e1a-434c-a1ed-40935d44eff0</item-id></data>

2023-07-31 22:31:24 | 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-bd72c391-dbcd-464e-8d71-551842d050f2</value></node><item-id type="text-single" label="Item ID"><value>item-9da81f95-5e1a-434c-a1ed-40935d44eff0</value></item-id><item type="text-multi" label="Item"><value><item id="item-9da81f95-5e1a-434c-a1ed-40935d44eff0"><test>item-9da81f95-5e1a-434c-a1ed-40935d44eff0</test></item></value></item></result>

2023-07-31 22:31:24 | [Mutex] notify: [retrieved:item:item-9da81f95-5e1a-434c-a1ed-40935d44eff0:payload-matches:true:localhost]

2023-07-31 22:31:24 | [Mutex] received everything.

2023-07-31 22:31:24 | [Mutex] isItemNotified: retrieved:item:item-9da81f95-5e1a-434c-a1ed-40935d44eff0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-07-31 22:31:24 |

2023-07-31 22:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:24 | ------------------------------------

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

2023-07-31 22:31:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-bd72c391-dbcd-464e-8d71-551842d050f2</value><value>node-9d9902c3-ae5b-4f30-bb51-21c4344376dc</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-31 22:31:24 |

2023-07-31 22:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:24 | ------------------------------------

2023-07-31 22:31:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bd72c391-dbcd-464e-8d71-551842d050f2)</node-pattern></data>

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

subscribeNodes 1.169s
2023-07-31 22:31:22 |

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

2023-07-31 22:31:22 | ------------------------------------

2023-07-31 22:31:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bd72c391-dbcd-464e-8d71-551842d050f2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.183s
2023-07-31 22:31:24 |

2023-07-31 22:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:24 | ------------------------------------

2023-07-31 22:31:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bd72c391-dbcd-464e-8d71-551842d050f2</node><jids><value>admin@test-domain.com</value></jids></data>

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