Generated by TestNG with ReportNG at 22:19 PDT on Thursday 24 March 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 9.726s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-03-24 22:33:02 |

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

2022-03-24 22:33:02 | ------------------------------------

2022-03-24 22:33:02 | [Mutex] waiting for: [configured:node:node-cca885cb-e400-4242-825c-fb723ad987a0:node-64d28660-49f2-4141-87d1-79f550287b2e]

2022-03-24 22:33:02 | [Mutex] received everything.

2022-03-24 22:33:02 | [Mutex] isItemNotified: configured:node:node-cca885cb-e400-4242-825c-fb723ad987a0:node-64d28660-49f2-4141-87d1-79f550287b2e :: true

2022-03-24 22:33:03 | [Mutex] waiting for: [received:nodes:f02af080-3283-4610-8126-eab92587e643:localhost]

2022-03-24 22:33:03 | [Mutex] received everything.

2022-03-24 22:33:03 | [Mutex] isItemNotified: received:node:f02af080-3283-4610-8126-eab92587e643:localhost:node-cca885cb-e400-4242-825c-fb723ad987a0:Node cca885cb-e400-4242-825c-fb723ad987a0 :: true

2022-03-24 22:33:03 | [Mutex] waiting for: [received:nodes:e80cbbbe-7968-4837-94c6-3b9863b46c95:localhost]

2022-03-24 22:33:03 | [Mutex] received everything.

2022-03-24 22:33:03 | [Mutex] isItemNotified: received:node:e80cbbbe-7968-4837-94c6-3b9863b46c95:localhost:node-cca885cb-e400-4242-825c-fb723ad987a0:Node cca885cb-e400-4242-825c-fb723ad987a0 :: false

createNodes 1.428s
2022-03-24 22:32:59 |

2022-03-24 22:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:32:59 | ------------------------------------

2022-03-24 22:32:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cca885cb-e400-4242-825c-fb723ad987a0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cca885cb-e400-4242-825c-fb723ad987a0</title></pubsub></data>

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

2022-03-24 22:33:01 | [Mutex] waiting for: [received:nodes:11cb6722-574e-474d-9833-da8d8fe07638:localhost]

2022-03-24 22:33:01 | [Mutex] waiting for: [received:nodes:11cb6722-574e-474d-9833-da8d8fe07638:localhost]

2022-03-24 22:33:01 | [Mutex] received everything.

2022-03-24 22:33:01 | [Mutex] isItemNotified: received:node:11cb6722-574e-474d-9833-da8d8fe07638:localhost:node-cca885cb-e400-4242-825c-fb723ad987a0:Node cca885cb-e400-4242-825c-fb723ad987a0 :: true

createSubnodes 1.025s
2022-03-24 22:33:01 |

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

2022-03-24 22:33:01 | ------------------------------------

2022-03-24 22:33:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-64d28660-49f2-4141-87d1-79f550287b2e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 64d28660-49f2-4141-87d1-79f550287b2e</title></pubsub></data>

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

2022-03-24 22:33:02 | [Mutex] waiting for: [received:nodes:97f496bd-267d-4e3c-af1c-3e937d9dc770:localhost]

2022-03-24 22:33:02 | [Mutex] received everything.

2022-03-24 22:33:02 | [Mutex] isItemNotified: received:node:97f496bd-267d-4e3c-af1c-3e937d9dc770:localhost:node-64d28660-49f2-4141-87d1-79f550287b2e:Node 64d28660-49f2-4141-87d1-79f550287b2e :: true

deleteNodes 1.017s
2022-03-24 22:33:07 |

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

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

2022-03-24 22:33:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-64d28660-49f2-4141-87d1-79f550287b2e</node></data>

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

2022-03-24 22:33:08 | [Mutex] waiting for: [received:nodes:d8c2f547-8e9b-4e65-8e21-23b30b7c73c8:localhost]

2022-03-24 22:33:08 | [Mutex] received everything.

2022-03-24 22:33:08 | [Mutex] isItemNotified: received:node:d8c2f547-8e9b-4e65-8e21-23b30b7c73c8:localhost:node-64d28660-49f2-4141-87d1-79f550287b2e:Node 64d28660-49f2-4141-87d1-79f550287b2e :: false

deleteSubnodes 1.125s
2022-03-24 22:33:06 |

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

2022-03-24 22:33:06 | ------------------------------------

2022-03-24 22:33:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cca885cb-e400-4242-825c-fb723ad987a0</node></data>

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

2022-03-24 22:33:07 | [Mutex] waiting for: [received:nodes:c489c533-74b5-4b05-9e19-25170c24b5c3:localhost]

2022-03-24 22:33:07 | [Mutex] waiting for: [received:nodes:c489c533-74b5-4b05-9e19-25170c24b5c3:localhost]

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

2022-03-24 22:33:07 | [Mutex] isItemNotified: received:node:c489c533-74b5-4b05-9e19-25170c24b5c3:localhost:node-cca885cb-e400-4242-825c-fb723ad987a0:Node cca885cb-e400-4242-825c-fb723ad987a0 :: false

2022-03-24 22:33:07 | [Mutex] waiting for: [received:nodes:3d8ddea9-6195-4aca-bb9a-a44dfcc6230e:localhost]

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

2022-03-24 22:33:07 | [Mutex] isItemNotified: received:node:3d8ddea9-6195-4aca-bb9a-a44dfcc6230e:localhost:node-cca885cb-e400-4242-825c-fb723ad987a0:Node cca885cb-e400-4242-825c-fb723ad987a0 :: false

publishItemsToNodes 0.290s
2022-03-24 22:33:04 |

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

2022-03-24 22:33:04 | ------------------------------------

2022-03-24 22:33:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cca885cb-e400-4242-825c-fb723ad987a0</node><item-id>item-37b62d6a-1b1d-4f93-b789-ef3b07abb525</item-id><entry><test>item-37b62d6a-1b1d-4f93-b789-ef3b07abb525</test></entry></data>

2022-03-24 22:33:04 | 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-37b62d6a-1b1d-4f93-b789-ef3b07abb525</value></item-id></result>

2022-03-24 22:33:04 | [Mutex] received everything.

2022-03-24 22:33:04 | [Mutex] isItemNotified: published:item:notifieditem-37b62d6a-1b1d-4f93-b789-ef3b07abb525:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2022-03-24 22:33:05 |

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

2022-03-24 22:33:05 | ------------------------------------

2022-03-24 22:33:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cca885cb-e400-4242-825c-fb723ad987a0</node><item-id>item-37b62d6a-1b1d-4f93-b789-ef3b07abb525</item-id></data>

2022-03-24 22:33:05 | 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-37b62d6a-1b1d-4f93-b789-ef3b07abb525</value></item-id></result>

2022-03-24 22:33:05 | [Mutex] waiting for: [retracted:item:notifieditem-37b62d6a-1b1d-4f93-b789-ef3b07abb525:admin@test-domain.com]

2022-03-24 22:33:05 | [Mutex] received everything.

2022-03-24 22:33:05 | [Mutex] isItemNotified: retracted:item:notifieditem-37b62d6a-1b1d-4f93-b789-ef3b07abb525:admin@test-domain.com :: true

retrieveItemsFromNodes 0.174s
2022-03-24 22:33:04 |

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

2022-03-24 22:33:04 | ------------------------------------

2022-03-24 22:33:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cca885cb-e400-4242-825c-fb723ad987a0</node><item-id>item-37b62d6a-1b1d-4f93-b789-ef3b07abb525</item-id></data>

2022-03-24 22:33:05 | 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-cca885cb-e400-4242-825c-fb723ad987a0</value></node><item-id label="Item ID" type="text-single"><value>item-37b62d6a-1b1d-4f93-b789-ef3b07abb525</value></item-id><item label="Item" type="text-multi"><value><item id="item-37b62d6a-1b1d-4f93-b789-ef3b07abb525"><test>item-37b62d6a-1b1d-4f93-b789-ef3b07abb525</test></item></value></item></result>

2022-03-24 22:33:05 | [Mutex] notify: [retrieved:item:item-37b62d6a-1b1d-4f93-b789-ef3b07abb525:payload-matches:true:localhost]

2022-03-24 22:33:05 | [Mutex] received everything.

2022-03-24 22:33:05 | [Mutex] isItemNotified: retrieved:item:item-37b62d6a-1b1d-4f93-b789-ef3b07abb525:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-03-24 22:33:05 |

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

2022-03-24 22:33:05 | ------------------------------------

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

2022-03-24 22:33:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-64d28660-49f2-4141-87d1-79f550287b2e</value><value>node-cca885cb-e400-4242-825c-fb723ad987a0</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-03-24 22:33:05 |

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

2022-03-24 22:33:05 | ------------------------------------

2022-03-24 22:33:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cca885cb-e400-4242-825c-fb723ad987a0)</node-pattern></data>

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

subscribeNodes 1.165s
2022-03-24 22:33:03 |

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

2022-03-24 22:33:03 | ------------------------------------

2022-03-24 22:33:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cca885cb-e400-4242-825c-fb723ad987a0</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.210s
2022-03-24 22:33:05 |

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

2022-03-24 22:33:05 | ------------------------------------

2022-03-24 22:33:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cca885cb-e400-4242-825c-fb723ad987a0</node><jids><value>admin@test-domain.com</value></jids></data>

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