Generated by TestNG with ReportNG at 21:13 PST on Wednesday 27 January 2021
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.153s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2021-01-27 21:27:54 |

2021-01-27 21:27:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:54 | ------------------------------------

2021-01-27 21:27:54 | [Mutex] waiting for: [configured:node:node-493e71be-ce89-4150-b909-38582ddab700:node-f68f2d88-d457-417e-bfb7-2a329d098172]

2021-01-27 21:27:54 | [Mutex] received everything.

2021-01-27 21:27:54 | [Mutex] isItemNotified: configured:node:node-493e71be-ce89-4150-b909-38582ddab700:node-f68f2d88-d457-417e-bfb7-2a329d098172 :: true

2021-01-27 21:27:55 | [Mutex] waiting for: [received:nodes:c2d16387-0e55-404e-96a2-b334e70146ef:localhost]

2021-01-27 21:27:55 | [Mutex] received everything.

2021-01-27 21:27:55 | [Mutex] isItemNotified: received:node:c2d16387-0e55-404e-96a2-b334e70146ef:localhost:node-493e71be-ce89-4150-b909-38582ddab700:Node 493e71be-ce89-4150-b909-38582ddab700 :: true

2021-01-27 21:27:55 | [Mutex] waiting for: [received:nodes:31e74725-0e03-4df9-abce-5552d43fad9e:localhost]

2021-01-27 21:27:55 | [Mutex] received everything.

2021-01-27 21:27:55 | [Mutex] isItemNotified: received:node:31e74725-0e03-4df9-abce-5552d43fad9e:localhost:node-493e71be-ce89-4150-b909-38582ddab700:Node 493e71be-ce89-4150-b909-38582ddab700 :: false

createNodes 1.472s
2021-01-27 21:27:52 |

2021-01-27 21:27:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:52 | ------------------------------------

2021-01-27 21:27:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-493e71be-ce89-4150-b909-38582ddab700</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 493e71be-ce89-4150-b909-38582ddab700</title></pubsub></data>

2021-01-27 21:27:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 21:27:53 | [Mutex] waiting for: [received:nodes:ad588ec1-7a9c-4322-9bff-1eeda8f05e83:localhost]

2021-01-27 21:27:53 | [Mutex] waiting for: [received:nodes:ad588ec1-7a9c-4322-9bff-1eeda8f05e83:localhost]

2021-01-27 21:27:53 | [Mutex] received everything.

2021-01-27 21:27:53 | [Mutex] isItemNotified: received:node:ad588ec1-7a9c-4322-9bff-1eeda8f05e83:localhost:node-493e71be-ce89-4150-b909-38582ddab700:Node 493e71be-ce89-4150-b909-38582ddab700 :: true

createSubnodes 1.042s
2021-01-27 21:27:53 |

2021-01-27 21:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:53 | ------------------------------------

2021-01-27 21:27:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f68f2d88-d457-417e-bfb7-2a329d098172</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f68f2d88-d457-417e-bfb7-2a329d098172</title></pubsub></data>

2021-01-27 21:27:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 21:27:54 | [Mutex] waiting for: [received:nodes:4c020ccf-66a2-44d7-9553-f3837d4f3497:localhost]

2021-01-27 21:27:54 | [Mutex] received everything.

2021-01-27 21:27:54 | [Mutex] isItemNotified: received:node:4c020ccf-66a2-44d7-9553-f3837d4f3497:localhost:node-f68f2d88-d457-417e-bfb7-2a329d098172:Node f68f2d88-d457-417e-bfb7-2a329d098172 :: true

deleteNodes 1.020s
2021-01-27 21:28:00 |

2021-01-27 21:28:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:28:00 | ------------------------------------

2021-01-27 21:28:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f68f2d88-d457-417e-bfb7-2a329d098172</node></data>

2021-01-27 21:28:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 21:28:01 | [Mutex] waiting for: [received:nodes:2f833079-c2a0-43d1-8527-7f79d2562d84:localhost]

2021-01-27 21:28:01 | [Mutex] waiting for: [received:nodes:2f833079-c2a0-43d1-8527-7f79d2562d84:localhost]

2021-01-27 21:28:01 | [Mutex] received everything.

2021-01-27 21:28:01 | [Mutex] isItemNotified: received:node:2f833079-c2a0-43d1-8527-7f79d2562d84:localhost:node-f68f2d88-d457-417e-bfb7-2a329d098172:Node f68f2d88-d457-417e-bfb7-2a329d098172 :: false

deleteSubnodes 1.141s
2021-01-27 21:27:59 |

2021-01-27 21:27:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:59 | ------------------------------------

2021-01-27 21:27:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-493e71be-ce89-4150-b909-38582ddab700</node></data>

2021-01-27 21:27:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 21:28:00 | [Mutex] waiting for: [received:nodes:61d465b5-171a-4df9-9686-879e6e20619f:localhost]

2021-01-27 21:28:00 | [Mutex] waiting for: [received:nodes:61d465b5-171a-4df9-9686-879e6e20619f:localhost]

2021-01-27 21:28:00 | [Mutex] received everything.

2021-01-27 21:28:00 | [Mutex] isItemNotified: received:node:61d465b5-171a-4df9-9686-879e6e20619f:localhost:node-493e71be-ce89-4150-b909-38582ddab700:Node 493e71be-ce89-4150-b909-38582ddab700 :: false

2021-01-27 21:28:00 | [Mutex] waiting for: [received:nodes:e83ee594-00b3-496d-b586-2b22c0563a85:localhost]

2021-01-27 21:28:00 | [Mutex] received everything.

2021-01-27 21:28:00 | [Mutex] isItemNotified: received:node:e83ee594-00b3-496d-b586-2b22c0563a85:localhost:node-493e71be-ce89-4150-b909-38582ddab700:Node 493e71be-ce89-4150-b909-38582ddab700 :: false

publishItemsToNodes 0.227s
2021-01-27 21:27:57 |

2021-01-27 21:27:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:57 | ------------------------------------

2021-01-27 21:27:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-493e71be-ce89-4150-b909-38582ddab700</node><item-id>item-600f620f-3020-48fe-90f7-f37a5ff5b53b</item-id><entry><test>item-600f620f-3020-48fe-90f7-f37a5ff5b53b</test></entry></data>

2021-01-27 21:27:57 | 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-600f620f-3020-48fe-90f7-f37a5ff5b53b</value></item-id></result>

2021-01-27 21:27:57 | [Mutex] waiting for: [published:item:notifieditem-600f620f-3020-48fe-90f7-f37a5ff5b53b:admin@test-domain.com]

2021-01-27 21:27:57 | [Mutex] received everything.

2021-01-27 21:27:57 | [Mutex] isItemNotified: published:item:notifieditem-600f620f-3020-48fe-90f7-f37a5ff5b53b:admin@test-domain.com :: true

retractItemsFromNodes 0.300s
2021-01-27 21:27:57 |

2021-01-27 21:27:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:57 | ------------------------------------

2021-01-27 21:27:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-493e71be-ce89-4150-b909-38582ddab700</node><item-id>item-600f620f-3020-48fe-90f7-f37a5ff5b53b</item-id></data>

2021-01-27 21:27:57 | 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-600f620f-3020-48fe-90f7-f37a5ff5b53b</value></item-id></result>

2021-01-27 21:27:57 | [Mutex] waiting for: [retracted:item:notifieditem-600f620f-3020-48fe-90f7-f37a5ff5b53b:admin@test-domain.com]

2021-01-27 21:27:57 | [Mutex] received everything.

2021-01-27 21:27:57 | [Mutex] isItemNotified: retracted:item:notifieditem-600f620f-3020-48fe-90f7-f37a5ff5b53b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.319s
2021-01-27 21:27:57 |

2021-01-27 21:27:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:57 | ------------------------------------

2021-01-27 21:27:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-493e71be-ce89-4150-b909-38582ddab700</node><item-id>item-600f620f-3020-48fe-90f7-f37a5ff5b53b</item-id></data>

2021-01-27 21:27:57 | 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-493e71be-ce89-4150-b909-38582ddab700</value></node><item-id label="Item ID" type="text-single"><value>item-600f620f-3020-48fe-90f7-f37a5ff5b53b</value></item-id><item label="Item" type="text-multi"><value><item id="item-600f620f-3020-48fe-90f7-f37a5ff5b53b"><test>item-600f620f-3020-48fe-90f7-f37a5ff5b53b</test></item></value></item></result>

2021-01-27 21:27:57 | [Mutex] notify: [retrieved:item:item-600f620f-3020-48fe-90f7-f37a5ff5b53b:payload-matches:true:localhost]

2021-01-27 21:27:57 | [Mutex] received everything.

2021-01-27 21:27:57 | [Mutex] isItemNotified: retrieved:item:item-600f620f-3020-48fe-90f7-f37a5ff5b53b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2021-01-27 21:27:57 |

2021-01-27 21:27:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:57 | ------------------------------------

2021-01-27 21:27:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-27 21:27:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-f68f2d88-d457-417e-bfb7-2a329d098172</value><value>test</value><value>node-493e71be-ce89-4150-b909-38582ddab700</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-01-27 21:27:57 |

2021-01-27 21:27:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:57 | ------------------------------------

2021-01-27 21:27:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-493e71be-ce89-4150-b909-38582ddab700)</node-pattern></data>

2021-01-27 21:27:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.155s
2021-01-27 21:27:55 |

2021-01-27 21:27:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:55 | ------------------------------------

2021-01-27 21:27:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-493e71be-ce89-4150-b909-38582ddab700</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-27 21:27:56 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.286s
2021-01-27 21:27:57 |

2021-01-27 21:27:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:27:57 | ------------------------------------

2021-01-27 21:27:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-493e71be-ce89-4150-b909-38582ddab700</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-27 21:27:58 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>