Generated by TestNG with ReportNG at 22:48 PDT on Sunday 17 July 2022
root@7c41cec37518 / 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.379s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.038s
2022-07-17 23:02:51 |

2022-07-17 23:02:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:51 | ------------------------------------

2022-07-17 23:02:51 | [Mutex] waiting for: [configured:node:node-70600efd-63b2-4699-aed0-ae44fa9c5360:node-50d1d773-1b34-4802-af63-5dff9ee1e557]

2022-07-17 23:02:51 | [Mutex] received everything.

2022-07-17 23:02:51 | [Mutex] isItemNotified: configured:node:node-70600efd-63b2-4699-aed0-ae44fa9c5360:node-50d1d773-1b34-4802-af63-5dff9ee1e557 :: true

2022-07-17 23:02:52 | [Mutex] waiting for: [received:nodes:3276e45f-3edb-4d17-8f08-ca8015440392:localhost]

2022-07-17 23:02:52 | [Mutex] received everything.

2022-07-17 23:02:52 | [Mutex] isItemNotified: received:node:3276e45f-3edb-4d17-8f08-ca8015440392:localhost:node-70600efd-63b2-4699-aed0-ae44fa9c5360:Node 70600efd-63b2-4699-aed0-ae44fa9c5360 :: true

2022-07-17 23:02:52 | [Mutex] waiting for: [received:nodes:e6c7fea7-b158-4477-80e5-64b2f0716a2e:localhost]

2022-07-17 23:02:52 | [Mutex] waiting for: [received:nodes:e6c7fea7-b158-4477-80e5-64b2f0716a2e:localhost]

2022-07-17 23:02:52 | [Mutex] received everything.

2022-07-17 23:02:52 | [Mutex] isItemNotified: received:node:e6c7fea7-b158-4477-80e5-64b2f0716a2e:localhost:node-70600efd-63b2-4699-aed0-ae44fa9c5360:Node 70600efd-63b2-4699-aed0-ae44fa9c5360 :: false

createNodes 1.468s
2022-07-17 23:02:49 |

2022-07-17 23:02:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:49 | ------------------------------------

2022-07-17 23:02:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-70600efd-63b2-4699-aed0-ae44fa9c5360</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 70600efd-63b2-4699-aed0-ae44fa9c5360</title></pubsub></data>

2022-07-17 23:02:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-17 23:02:50 | [Mutex] waiting for: [received:nodes:f0157bff-6e8f-4ebb-8551-a5d6bc3ccfaf:localhost]

2022-07-17 23:02:50 | [Mutex] received everything.

2022-07-17 23:02:50 | [Mutex] isItemNotified: received:node:f0157bff-6e8f-4ebb-8551-a5d6bc3ccfaf:localhost:node-70600efd-63b2-4699-aed0-ae44fa9c5360:Node 70600efd-63b2-4699-aed0-ae44fa9c5360 :: true

createSubnodes 1.024s
2022-07-17 23:02:50 |

2022-07-17 23:02:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:50 | ------------------------------------

2022-07-17 23:02:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-50d1d773-1b34-4802-af63-5dff9ee1e557</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 50d1d773-1b34-4802-af63-5dff9ee1e557</title></pubsub></data>

2022-07-17 23:02:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-17 23:02:51 | [Mutex] waiting for: [received:nodes:75929bdc-0e81-4e9b-a3ef-f6b6f4c846c2:localhost]

2022-07-17 23:02:51 | [Mutex] waiting for: [received:nodes:75929bdc-0e81-4e9b-a3ef-f6b6f4c846c2:localhost]

2022-07-17 23:02:51 | [Mutex] waiting for: [received:nodes:75929bdc-0e81-4e9b-a3ef-f6b6f4c846c2:localhost]

2022-07-17 23:02:51 | [Mutex] waiting for: [received:nodes:75929bdc-0e81-4e9b-a3ef-f6b6f4c846c2:localhost]

2022-07-17 23:02:51 | [Mutex] received everything.

2022-07-17 23:02:51 | [Mutex] isItemNotified: received:node:75929bdc-0e81-4e9b-a3ef-f6b6f4c846c2:localhost:node-50d1d773-1b34-4802-af63-5dff9ee1e557:Node 50d1d773-1b34-4802-af63-5dff9ee1e557 :: true

deleteNodes 1.018s
2022-07-17 23:02:57 |

2022-07-17 23:02:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:57 | ------------------------------------

2022-07-17 23:02:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-50d1d773-1b34-4802-af63-5dff9ee1e557</node></data>

2022-07-17 23:02:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-17 23:02:58 | [Mutex] waiting for: [received:nodes:728e16c8-f2fa-4a6e-898b-9deec9112fdf:localhost]

2022-07-17 23:02:58 | [Mutex] waiting for: [received:nodes:728e16c8-f2fa-4a6e-898b-9deec9112fdf:localhost]

2022-07-17 23:02:58 | [Mutex] received everything.

2022-07-17 23:02:58 | [Mutex] isItemNotified: received:node:728e16c8-f2fa-4a6e-898b-9deec9112fdf:localhost:node-50d1d773-1b34-4802-af63-5dff9ee1e557:Node 50d1d773-1b34-4802-af63-5dff9ee1e557 :: false

deleteSubnodes 1.131s
2022-07-17 23:02:55 |

2022-07-17 23:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:55 | ------------------------------------

2022-07-17 23:02:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-70600efd-63b2-4699-aed0-ae44fa9c5360</node></data>

2022-07-17 23:02:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-17 23:02:57 | [Mutex] waiting for: [received:nodes:bd98139f-1385-4830-a73d-760884b73b20:localhost]

2022-07-17 23:02:57 | [Mutex] received everything.

2022-07-17 23:02:57 | [Mutex] isItemNotified: received:node:bd98139f-1385-4830-a73d-760884b73b20:localhost:node-70600efd-63b2-4699-aed0-ae44fa9c5360:Node 70600efd-63b2-4699-aed0-ae44fa9c5360 :: false

2022-07-17 23:02:57 | [Mutex] waiting for: [received:nodes:fd083389-2325-47a8-9c0e-31f8c602556c:localhost]

2022-07-17 23:02:57 | [Mutex] received everything.

2022-07-17 23:02:57 | [Mutex] isItemNotified: received:node:fd083389-2325-47a8-9c0e-31f8c602556c:localhost:node-70600efd-63b2-4699-aed0-ae44fa9c5360:Node 70600efd-63b2-4699-aed0-ae44fa9c5360 :: false

publishItemsToNodes 0.223s
2022-07-17 23:02:53 |

2022-07-17 23:02:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:53 | ------------------------------------

2022-07-17 23:02:53 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-70600efd-63b2-4699-aed0-ae44fa9c5360</node><item-id>item-894dc812-2e72-471c-a5ca-2363877d840e</item-id><entry><test>item-894dc812-2e72-471c-a5ca-2363877d840e</test></entry></data>

2022-07-17 23:02:54 | 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-894dc812-2e72-471c-a5ca-2363877d840e</value></item-id></result>

2022-07-17 23:02:54 | [Mutex] received everything.

2022-07-17 23:02:54 | [Mutex] isItemNotified: published:item:notifieditem-894dc812-2e72-471c-a5ca-2363877d840e:admin@test-domain.com :: true

retractItemsFromNodes 0.232s
2022-07-17 23:02:54 |

2022-07-17 23:02:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:54 | ------------------------------------

2022-07-17 23:02:54 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-70600efd-63b2-4699-aed0-ae44fa9c5360</node><item-id>item-894dc812-2e72-471c-a5ca-2363877d840e</item-id></data>

2022-07-17 23:02:54 | 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-894dc812-2e72-471c-a5ca-2363877d840e</value></item-id></result>

2022-07-17 23:02:54 | [Mutex] received everything.

2022-07-17 23:02:54 | [Mutex] isItemNotified: retracted:item:notifieditem-894dc812-2e72-471c-a5ca-2363877d840e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.202s
2022-07-17 23:02:54 |

2022-07-17 23:02:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:54 | ------------------------------------

2022-07-17 23:02:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-70600efd-63b2-4699-aed0-ae44fa9c5360</node><item-id>item-894dc812-2e72-471c-a5ca-2363877d840e</item-id></data>

2022-07-17 23:02:54 | 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-70600efd-63b2-4699-aed0-ae44fa9c5360</value></node><item-id type="text-single" label="Item ID"><value>item-894dc812-2e72-471c-a5ca-2363877d840e</value></item-id><item type="text-multi" label="Item"><value><item id="item-894dc812-2e72-471c-a5ca-2363877d840e"><test>item-894dc812-2e72-471c-a5ca-2363877d840e</test></item></value></item></result>

2022-07-17 23:02:54 | [Mutex] notify: [retrieved:item:item-894dc812-2e72-471c-a5ca-2363877d840e:payload-matches:true:localhost]

2022-07-17 23:02:54 | [Mutex] received everything.

2022-07-17 23:02:54 | [Mutex] isItemNotified: retrieved:item:item-894dc812-2e72-471c-a5ca-2363877d840e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-17 23:02:54 |

2022-07-17 23:02:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:54 | ------------------------------------

2022-07-17 23:02:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-17 23:02:54 | 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-50d1d773-1b34-4802-af63-5dff9ee1e557</value><value>node-70600efd-63b2-4699-aed0-ae44fa9c5360</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-17 23:02:54 |

2022-07-17 23:02:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:54 | ------------------------------------

2022-07-17 23:02:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-70600efd-63b2-4699-aed0-ae44fa9c5360)</node-pattern></data>

2022-07-17 23:02:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.106s
2022-07-17 23:02:52 |

2022-07-17 23:02:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:52 | ------------------------------------

2022-07-17 23:02:52 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-70600efd-63b2-4699-aed0-ae44fa9c5360</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.242s
2022-07-17 23:02:54 |

2022-07-17 23:02:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 23:02:54 | ------------------------------------

2022-07-17 23:02:54 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-70600efd-63b2-4699-aed0-ae44fa9c5360</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-17 23:02:54 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>