Generated by TestNG with ReportNG at 22:18 PDT on Wednesday 20 July 2022
root@f9c07ffec79b / 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.563s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2022-07-20 22:33:05 |

2022-07-20 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 22:33:05 | ------------------------------------

2022-07-20 22:33:05 | [Mutex] waiting for: [configured:node:node-751b9d0e-34bd-4f35-aaaf-be54ae8431da:node-49f05dfd-a6ca-4e14-8db5-c7c4c99c6cb2]

2022-07-20 22:33:06 | [Mutex] received everything.

2022-07-20 22:33:06 | [Mutex] isItemNotified: configured:node:node-751b9d0e-34bd-4f35-aaaf-be54ae8431da:node-49f05dfd-a6ca-4e14-8db5-c7c4c99c6cb2 :: true

2022-07-20 22:33:07 | [Mutex] waiting for: [received:nodes:30f25520-d2b0-4db9-bd1f-c10f5c59724a:localhost]

2022-07-20 22:33:07 | [Mutex] received everything.

2022-07-20 22:33:07 | [Mutex] isItemNotified: received:node:30f25520-d2b0-4db9-bd1f-c10f5c59724a:localhost:node-751b9d0e-34bd-4f35-aaaf-be54ae8431da:Node 751b9d0e-34bd-4f35-aaaf-be54ae8431da :: true

2022-07-20 22:33:07 | [Mutex] waiting for: [received:nodes:ec6f8646-77a5-41e0-a8dc-468eeae08508:localhost]

2022-07-20 22:33:07 | [Mutex] received everything.

2022-07-20 22:33:07 | [Mutex] isItemNotified: received:node:ec6f8646-77a5-41e0-a8dc-468eeae08508:localhost:node-751b9d0e-34bd-4f35-aaaf-be54ae8431da:Node 751b9d0e-34bd-4f35-aaaf-be54ae8431da :: false

createNodes 1.449s
2022-07-20 22:33:03 |

2022-07-20 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 22:33:03 | ------------------------------------

2022-07-20 22:33:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-751b9d0e-34bd-4f35-aaaf-be54ae8431da</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 751b9d0e-34bd-4f35-aaaf-be54ae8431da</title></pubsub></data>

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

2022-07-20 22:33:04 | [Mutex] waiting for: [received:nodes:bfbc7378-825e-4a94-aa33-2882ff6b7069:localhost]

2022-07-20 22:33:04 | [Mutex] received everything.

2022-07-20 22:33:04 | [Mutex] isItemNotified: received:node:bfbc7378-825e-4a94-aa33-2882ff6b7069:localhost:node-751b9d0e-34bd-4f35-aaaf-be54ae8431da:Node 751b9d0e-34bd-4f35-aaaf-be54ae8431da :: true

createSubnodes 1.024s
2022-07-20 22:33:04 |

2022-07-20 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 22:33:04 | ------------------------------------

2022-07-20 22:33:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-49f05dfd-a6ca-4e14-8db5-c7c4c99c6cb2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 49f05dfd-a6ca-4e14-8db5-c7c4c99c6cb2</title></pubsub></data>

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

2022-07-20 22:33:05 | [Mutex] waiting for: [received:nodes:23ef05be-f50d-47a6-8f4d-bc04ef1ab866:localhost]

2022-07-20 22:33:05 | [Mutex] received everything.

2022-07-20 22:33:05 | [Mutex] isItemNotified: received:node:23ef05be-f50d-47a6-8f4d-bc04ef1ab866:localhost:node-49f05dfd-a6ca-4e14-8db5-c7c4c99c6cb2:Node 49f05dfd-a6ca-4e14-8db5-c7c4c99c6cb2 :: true

deleteNodes 1.019s
2022-07-20 22:33:11 |

2022-07-20 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 22:33:11 | ------------------------------------

2022-07-20 22:33:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-49f05dfd-a6ca-4e14-8db5-c7c4c99c6cb2</node></data>

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

2022-07-20 22:33:12 | [Mutex] waiting for: [received:nodes:6ea20d32-0aff-4196-9009-2dafcd3aaf7c:localhost]

2022-07-20 22:33:12 | [Mutex] received everything.

2022-07-20 22:33:12 | [Mutex] isItemNotified: received:node:6ea20d32-0aff-4196-9009-2dafcd3aaf7c:localhost:node-49f05dfd-a6ca-4e14-8db5-c7c4c99c6cb2:Node 49f05dfd-a6ca-4e14-8db5-c7c4c99c6cb2 :: false

deleteSubnodes 1.131s
2022-07-20 22:33:10 |

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

2022-07-20 22:33:10 | ------------------------------------

2022-07-20 22:33:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-751b9d0e-34bd-4f35-aaaf-be54ae8431da</node></data>

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

2022-07-20 22:33:11 | [Mutex] waiting for: [received:nodes:acde9148-e91b-4678-94a7-e903e8c6e1b3:localhost]

2022-07-20 22:33:11 | [Mutex] waiting for: [received:nodes:acde9148-e91b-4678-94a7-e903e8c6e1b3:localhost]

2022-07-20 22:33:11 | [Mutex] waiting for: [received:nodes:acde9148-e91b-4678-94a7-e903e8c6e1b3:localhost]

2022-07-20 22:33:11 | [Mutex] waiting for: [received:nodes:acde9148-e91b-4678-94a7-e903e8c6e1b3:localhost]

2022-07-20 22:33:11 | [Mutex] received everything.

2022-07-20 22:33:11 | [Mutex] isItemNotified: received:node:acde9148-e91b-4678-94a7-e903e8c6e1b3:localhost:node-751b9d0e-34bd-4f35-aaaf-be54ae8431da:Node 751b9d0e-34bd-4f35-aaaf-be54ae8431da :: false

2022-07-20 22:33:11 | [Mutex] waiting for: [received:nodes:4b26e067-46dd-4594-8cb3-d57f9c7c43ec:localhost]

2022-07-20 22:33:11 | [Mutex] received everything.

2022-07-20 22:33:11 | [Mutex] isItemNotified: received:node:4b26e067-46dd-4594-8cb3-d57f9c7c43ec:localhost:node-751b9d0e-34bd-4f35-aaaf-be54ae8431da:Node 751b9d0e-34bd-4f35-aaaf-be54ae8431da :: false

publishItemsToNodes 0.296s
2022-07-20 22:33:08 |

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

2022-07-20 22:33:08 | ------------------------------------

2022-07-20 22:33:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-751b9d0e-34bd-4f35-aaaf-be54ae8431da</node><item-id>item-a93c87f8-f45f-466c-8cc3-9a209e731fd5</item-id><entry><test>item-a93c87f8-f45f-466c-8cc3-9a209e731fd5</test></entry></data>

2022-07-20 22:33:08 | 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-a93c87f8-f45f-466c-8cc3-9a209e731fd5</value></item-id></result>

2022-07-20 22:33:08 | [Mutex] waiting for: [published:item:notifieditem-a93c87f8-f45f-466c-8cc3-9a209e731fd5:admin@test-domain.com]

2022-07-20 22:33:08 | [Mutex] received everything.

2022-07-20 22:33:08 | [Mutex] isItemNotified: published:item:notifieditem-a93c87f8-f45f-466c-8cc3-9a209e731fd5:admin@test-domain.com :: true

retractItemsFromNodes 0.252s
2022-07-20 22:33:08 |

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

2022-07-20 22:33:08 | ------------------------------------

2022-07-20 22:33:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-751b9d0e-34bd-4f35-aaaf-be54ae8431da</node><item-id>item-a93c87f8-f45f-466c-8cc3-9a209e731fd5</item-id></data>

2022-07-20 22:33:09 | 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-a93c87f8-f45f-466c-8cc3-9a209e731fd5</value></item-id></result>

2022-07-20 22:33:09 | [Mutex] received everything.

2022-07-20 22:33:09 | [Mutex] isItemNotified: retracted:item:notifieditem-a93c87f8-f45f-466c-8cc3-9a209e731fd5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.194s
2022-07-20 22:33:08 |

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

2022-07-20 22:33:08 | ------------------------------------

2022-07-20 22:33:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-751b9d0e-34bd-4f35-aaaf-be54ae8431da</node><item-id>item-a93c87f8-f45f-466c-8cc3-9a209e731fd5</item-id></data>

2022-07-20 22:33:08 | 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-751b9d0e-34bd-4f35-aaaf-be54ae8431da</value></node><item-id type="text-single" label="Item ID"><value>item-a93c87f8-f45f-466c-8cc3-9a209e731fd5</value></item-id><item type="text-multi" label="Item"><value><item id="item-a93c87f8-f45f-466c-8cc3-9a209e731fd5"><test>item-a93c87f8-f45f-466c-8cc3-9a209e731fd5</test></item></value></item></result>

2022-07-20 22:33:08 | [Mutex] notify: [retrieved:item:item-a93c87f8-f45f-466c-8cc3-9a209e731fd5:payload-matches:true:localhost]

2022-07-20 22:33:08 | [Mutex] received everything.

2022-07-20 22:33:08 | [Mutex] isItemNotified: retrieved:item:item-a93c87f8-f45f-466c-8cc3-9a209e731fd5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-20 22:33:08 |

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

2022-07-20 22:33:08 | ------------------------------------

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

2022-07-20 22:33:08 | 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-751b9d0e-34bd-4f35-aaaf-be54ae8431da</value><value>node-49f05dfd-a6ca-4e14-8db5-c7c4c99c6cb2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-20 22:33:08 |

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

2022-07-20 22:33:08 | ------------------------------------

2022-07-20 22:33:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-751b9d0e-34bd-4f35-aaaf-be54ae8431da)</node-pattern></data>

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

subscribeNodes 1.104s
2022-07-20 22:33:07 |

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

2022-07-20 22:33:07 | ------------------------------------

2022-07-20 22:33:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-751b9d0e-34bd-4f35-aaaf-be54ae8431da</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.232s
2022-07-20 22:33:09 |

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

2022-07-20 22:33:09 | ------------------------------------

2022-07-20 22:33:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-751b9d0e-34bd-4f35-aaaf-be54ae8431da</node><jids><value>admin@test-domain.com</value></jids></data>

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