Generated by TestNG with ReportNG at 21:15 PST on Thursday 22 December 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.355s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2022-12-22 21:30:43 |

2022-12-22 21:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:43 | ------------------------------------

2022-12-22 21:30:43 | [Mutex] waiting for: [configured:node:node-65c02cc9-793e-4afa-ab13-09f092af1afc:node-8819710e-984a-475d-b915-6158ac298cf2]

2022-12-22 21:30:43 | [Mutex] received everything.

2022-12-22 21:30:43 | [Mutex] isItemNotified: configured:node:node-65c02cc9-793e-4afa-ab13-09f092af1afc:node-8819710e-984a-475d-b915-6158ac298cf2 :: true

2022-12-22 21:30:44 | [Mutex] waiting for: [received:nodes:c7e41e99-86c1-403c-8c89-f21e80a0461f:localhost]

2022-12-22 21:30:44 | [Mutex] received everything.

2022-12-22 21:30:44 | [Mutex] isItemNotified: received:node:c7e41e99-86c1-403c-8c89-f21e80a0461f:localhost:node-65c02cc9-793e-4afa-ab13-09f092af1afc:Node 65c02cc9-793e-4afa-ab13-09f092af1afc :: true

2022-12-22 21:30:44 | [Mutex] waiting for: [received:nodes:caa6495d-1057-4e83-8a13-330fb8b3d7dc:localhost]

2022-12-22 21:30:44 | [Mutex] waiting for: [received:nodes:caa6495d-1057-4e83-8a13-330fb8b3d7dc:localhost]

2022-12-22 21:30:44 | [Mutex] waiting for: [received:nodes:caa6495d-1057-4e83-8a13-330fb8b3d7dc:localhost]

2022-12-22 21:30:44 | [Mutex] waiting for: [received:nodes:caa6495d-1057-4e83-8a13-330fb8b3d7dc:localhost]

2022-12-22 21:30:44 | [Mutex] received everything.

2022-12-22 21:30:44 | [Mutex] isItemNotified: received:node:caa6495d-1057-4e83-8a13-330fb8b3d7dc:localhost:node-65c02cc9-793e-4afa-ab13-09f092af1afc:Node 65c02cc9-793e-4afa-ab13-09f092af1afc :: false

createNodes 1.454s
2022-12-22 21:30:40 |

2022-12-22 21:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:40 | ------------------------------------

2022-12-22 21:30:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-65c02cc9-793e-4afa-ab13-09f092af1afc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 65c02cc9-793e-4afa-ab13-09f092af1afc</title></pubsub></data>

2022-12-22 21:30:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-22 21:30:42 | [Mutex] waiting for: [received:nodes:4136956a-57a5-4496-b7a4-37e1fdba23a7:localhost]

2022-12-22 21:30:42 | [Mutex] waiting for: [received:nodes:4136956a-57a5-4496-b7a4-37e1fdba23a7:localhost]

2022-12-22 21:30:42 | [Mutex] waiting for: [received:nodes:4136956a-57a5-4496-b7a4-37e1fdba23a7:localhost]

2022-12-22 21:30:42 | [Mutex] received everything.

2022-12-22 21:30:42 | [Mutex] isItemNotified: received:node:4136956a-57a5-4496-b7a4-37e1fdba23a7:localhost:node-65c02cc9-793e-4afa-ab13-09f092af1afc:Node 65c02cc9-793e-4afa-ab13-09f092af1afc :: true

createSubnodes 1.027s
2022-12-22 21:30:42 |

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

2022-12-22 21:30:42 | ------------------------------------

2022-12-22 21:30:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8819710e-984a-475d-b915-6158ac298cf2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8819710e-984a-475d-b915-6158ac298cf2</title></pubsub></data>

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

2022-12-22 21:30:43 | [Mutex] waiting for: [received:nodes:befffffa-5602-4ba0-8ce5-077069186b7d:localhost]

2022-12-22 21:30:43 | [Mutex] waiting for: [received:nodes:befffffa-5602-4ba0-8ce5-077069186b7d:localhost]

2022-12-22 21:30:43 | [Mutex] waiting for: [received:nodes:befffffa-5602-4ba0-8ce5-077069186b7d:localhost]

2022-12-22 21:30:43 | [Mutex] waiting for: [received:nodes:befffffa-5602-4ba0-8ce5-077069186b7d:localhost]

2022-12-22 21:30:43 | [Mutex] received everything.

2022-12-22 21:30:43 | [Mutex] isItemNotified: received:node:befffffa-5602-4ba0-8ce5-077069186b7d:localhost:node-8819710e-984a-475d-b915-6158ac298cf2:Node 8819710e-984a-475d-b915-6158ac298cf2 :: true

deleteNodes 1.018s
2022-12-22 21:30:48 |

2022-12-22 21:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:48 | ------------------------------------

2022-12-22 21:30:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8819710e-984a-475d-b915-6158ac298cf2</node></data>

2022-12-22 21:30:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-22 21:30:49 | [Mutex] waiting for: [received:nodes:9b196441-e7c3-4ecc-ab81-da656c1cfe45:localhost]

2022-12-22 21:30:49 | [Mutex] waiting for: [received:nodes:9b196441-e7c3-4ecc-ab81-da656c1cfe45:localhost]

2022-12-22 21:30:49 | [Mutex] waiting for: [received:nodes:9b196441-e7c3-4ecc-ab81-da656c1cfe45:localhost]

2022-12-22 21:30:49 | [Mutex] received everything.

2022-12-22 21:30:49 | [Mutex] isItemNotified: received:node:9b196441-e7c3-4ecc-ab81-da656c1cfe45:localhost:node-8819710e-984a-475d-b915-6158ac298cf2:Node 8819710e-984a-475d-b915-6158ac298cf2 :: false

deleteSubnodes 1.119s
2022-12-22 21:30:47 |

2022-12-22 21:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:47 | ------------------------------------

2022-12-22 21:30:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-65c02cc9-793e-4afa-ab13-09f092af1afc</node></data>

2022-12-22 21:30:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-22 21:30:48 | [Mutex] waiting for: [received:nodes:01b7085a-d2b7-4bef-bb8c-2d052435242f:localhost]

2022-12-22 21:30:48 | [Mutex] waiting for: [received:nodes:01b7085a-d2b7-4bef-bb8c-2d052435242f:localhost]

2022-12-22 21:30:48 | [Mutex] waiting for: [received:nodes:01b7085a-d2b7-4bef-bb8c-2d052435242f:localhost]

2022-12-22 21:30:48 | [Mutex] received everything.

2022-12-22 21:30:48 | [Mutex] isItemNotified: received:node:01b7085a-d2b7-4bef-bb8c-2d052435242f:localhost:node-65c02cc9-793e-4afa-ab13-09f092af1afc:Node 65c02cc9-793e-4afa-ab13-09f092af1afc :: false

2022-12-22 21:30:48 | [Mutex] waiting for: [received:nodes:b795e470-8de6-4ec5-9085-295de9d1559e:localhost]

2022-12-22 21:30:48 | [Mutex] received everything.

2022-12-22 21:30:48 | [Mutex] isItemNotified: received:node:b795e470-8de6-4ec5-9085-295de9d1559e:localhost:node-65c02cc9-793e-4afa-ab13-09f092af1afc:Node 65c02cc9-793e-4afa-ab13-09f092af1afc :: false

publishItemsToNodes 0.178s
2022-12-22 21:30:45 |

2022-12-22 21:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:45 | ------------------------------------

2022-12-22 21:30:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-65c02cc9-793e-4afa-ab13-09f092af1afc</node><item-id>item-b95100a6-c10c-4aaf-a97a-e3c313d62c68</item-id><entry><test>item-b95100a6-c10c-4aaf-a97a-e3c313d62c68</test></entry></data>

2022-12-22 21:30:45 | 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-b95100a6-c10c-4aaf-a97a-e3c313d62c68</value></item-id></result>

2022-12-22 21:30:45 | [Mutex] waiting for: [published:item:notifieditem-b95100a6-c10c-4aaf-a97a-e3c313d62c68:admin@test-domain.com]

2022-12-22 21:30:45 | [Mutex] received everything.

2022-12-22 21:30:45 | [Mutex] isItemNotified: published:item:notifieditem-b95100a6-c10c-4aaf-a97a-e3c313d62c68:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2022-12-22 21:30:45 |

2022-12-22 21:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:45 | ------------------------------------

2022-12-22 21:30:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-65c02cc9-793e-4afa-ab13-09f092af1afc</node><item-id>item-b95100a6-c10c-4aaf-a97a-e3c313d62c68</item-id></data>

2022-12-22 21:30:46 | 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-b95100a6-c10c-4aaf-a97a-e3c313d62c68</value></item-id></result>

2022-12-22 21:30:46 | [Mutex] received everything.

2022-12-22 21:30:46 | [Mutex] isItemNotified: retracted:item:notifieditem-b95100a6-c10c-4aaf-a97a-e3c313d62c68:admin@test-domain.com :: true

retrieveItemsFromNodes 0.241s
2022-12-22 21:30:45 |

2022-12-22 21:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:45 | ------------------------------------

2022-12-22 21:30:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-65c02cc9-793e-4afa-ab13-09f092af1afc</node><item-id>item-b95100a6-c10c-4aaf-a97a-e3c313d62c68</item-id></data>

2022-12-22 21:30:45 | 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-65c02cc9-793e-4afa-ab13-09f092af1afc</value></node><item-id label="Item ID" type="text-single"><value>item-b95100a6-c10c-4aaf-a97a-e3c313d62c68</value></item-id><item label="Item" type="text-multi"><value><item id="item-b95100a6-c10c-4aaf-a97a-e3c313d62c68"><test>item-b95100a6-c10c-4aaf-a97a-e3c313d62c68</test></item></value></item></result>

2022-12-22 21:30:45 | [Mutex] notify: [retrieved:item:item-b95100a6-c10c-4aaf-a97a-e3c313d62c68:payload-matches:true:localhost]

2022-12-22 21:30:45 | [Mutex] received everything.

2022-12-22 21:30:45 | [Mutex] isItemNotified: retrieved:item:item-b95100a6-c10c-4aaf-a97a-e3c313d62c68:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-12-22 21:30:45 |

2022-12-22 21:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:45 | ------------------------------------

2022-12-22 21:30:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-22 21:30:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-65c02cc9-793e-4afa-ab13-09f092af1afc</value><value>test</value><value>node-8819710e-984a-475d-b915-6158ac298cf2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-12-22 21:30:45 |

2022-12-22 21:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:45 | ------------------------------------

2022-12-22 21:30:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-65c02cc9-793e-4afa-ab13-09f092af1afc)</node-pattern></data>

2022-12-22 21:30:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.109s
2022-12-22 21:30:44 |

2022-12-22 21:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:44 | ------------------------------------

2022-12-22 21:30:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-65c02cc9-793e-4afa-ab13-09f092af1afc</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.147s
2022-12-22 21:30:46 |

2022-12-22 21:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:46 | ------------------------------------

2022-12-22 21:30:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-65c02cc9-793e-4afa-ab13-09f092af1afc</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-22 21:30:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>