Generated by TestNG with ReportNG at 22:26 PDT on Monday 05 April 2021
root@eaa73862192b / 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 : 9.922s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2021-04-05 22:40:44 |

2021-04-05 22:40:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:44 | ------------------------------------

2021-04-05 22:40:44 | [Mutex] waiting for: [configured:node:node-476e928c-d2a0-4a86-9da0-c07299566294:node-b4706f36-f7d0-452a-9564-5c90792baf80]

2021-04-05 22:40:45 | [Mutex] received everything.

2021-04-05 22:40:45 | [Mutex] isItemNotified: configured:node:node-476e928c-d2a0-4a86-9da0-c07299566294:node-b4706f36-f7d0-452a-9564-5c90792baf80 :: true

2021-04-05 22:40:46 | [Mutex] waiting for: [received:nodes:a9dfb3ff-3c83-4350-b102-a6c433a3d9db:localhost]

2021-04-05 22:40:46 | [Mutex] received everything.

2021-04-05 22:40:46 | [Mutex] isItemNotified: received:node:a9dfb3ff-3c83-4350-b102-a6c433a3d9db:localhost:node-476e928c-d2a0-4a86-9da0-c07299566294:Node 476e928c-d2a0-4a86-9da0-c07299566294 :: true

2021-04-05 22:40:46 | [Mutex] waiting for: [received:nodes:713bf133-491f-4b31-af12-f0c080753514:localhost]

2021-04-05 22:40:46 | [Mutex] received everything.

2021-04-05 22:40:46 | [Mutex] isItemNotified: received:node:713bf133-491f-4b31-af12-f0c080753514:localhost:node-476e928c-d2a0-4a86-9da0-c07299566294:Node 476e928c-d2a0-4a86-9da0-c07299566294 :: false

createNodes 1.450s
2021-04-05 22:40:42 |

2021-04-05 22:40:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:42 | ------------------------------------

2021-04-05 22:40:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-476e928c-d2a0-4a86-9da0-c07299566294</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 476e928c-d2a0-4a86-9da0-c07299566294</title></pubsub></data>

2021-04-05 22:40:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-05 22:40:43 | [Mutex] waiting for: [received:nodes:e5d99f3f-9d8b-4066-ac9e-7a7085704b01:localhost]

2021-04-05 22:40:43 | [Mutex] received everything.

2021-04-05 22:40:43 | [Mutex] isItemNotified: received:node:e5d99f3f-9d8b-4066-ac9e-7a7085704b01:localhost:node-476e928c-d2a0-4a86-9da0-c07299566294:Node 476e928c-d2a0-4a86-9da0-c07299566294 :: true

createSubnodes 1.024s
2021-04-05 22:40:43 |

2021-04-05 22:40:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:43 | ------------------------------------

2021-04-05 22:40:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b4706f36-f7d0-452a-9564-5c90792baf80</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b4706f36-f7d0-452a-9564-5c90792baf80</title></pubsub></data>

2021-04-05 22:40:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-05 22:40:44 | [Mutex] waiting for: [received:nodes:57da960c-f764-486e-b2ff-a968515c6406:localhost]

2021-04-05 22:40:44 | [Mutex] waiting for: [received:nodes:57da960c-f764-486e-b2ff-a968515c6406:localhost]

2021-04-05 22:40:44 | [Mutex] waiting for: [received:nodes:57da960c-f764-486e-b2ff-a968515c6406:localhost]

2021-04-05 22:40:44 | [Mutex] waiting for: [received:nodes:57da960c-f764-486e-b2ff-a968515c6406:localhost]

2021-04-05 22:40:44 | [Mutex] received everything.

2021-04-05 22:40:44 | [Mutex] isItemNotified: received:node:57da960c-f764-486e-b2ff-a968515c6406:localhost:node-b4706f36-f7d0-452a-9564-5c90792baf80:Node b4706f36-f7d0-452a-9564-5c90792baf80 :: true

deleteNodes 1.019s
2021-04-05 22:40:50 |

2021-04-05 22:40:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:50 | ------------------------------------

2021-04-05 22:40:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b4706f36-f7d0-452a-9564-5c90792baf80</node></data>

2021-04-05 22:40:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-05 22:40:51 | [Mutex] waiting for: [received:nodes:13876842-99db-465e-9cce-46987f3581ee:localhost]

2021-04-05 22:40:51 | [Mutex] received everything.

2021-04-05 22:40:51 | [Mutex] isItemNotified: received:node:13876842-99db-465e-9cce-46987f3581ee:localhost:node-b4706f36-f7d0-452a-9564-5c90792baf80:Node b4706f36-f7d0-452a-9564-5c90792baf80 :: false

deleteSubnodes 1.154s
2021-04-05 22:40:49 |

2021-04-05 22:40:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:49 | ------------------------------------

2021-04-05 22:40:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-476e928c-d2a0-4a86-9da0-c07299566294</node></data>

2021-04-05 22:40:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-05 22:40:50 | [Mutex] waiting for: [received:nodes:ea1d0487-4c5f-4e4f-b1c4-03e6c6811e0a:localhost]

2021-04-05 22:40:50 | [Mutex] received everything.

2021-04-05 22:40:50 | [Mutex] isItemNotified: received:node:ea1d0487-4c5f-4e4f-b1c4-03e6c6811e0a:localhost:node-476e928c-d2a0-4a86-9da0-c07299566294:Node 476e928c-d2a0-4a86-9da0-c07299566294 :: false

2021-04-05 22:40:50 | [Mutex] waiting for: [received:nodes:c3a6ee86-0d62-4b18-9eb5-9e3901b0e8c6:localhost]

2021-04-05 22:40:50 | [Mutex] received everything.

2021-04-05 22:40:50 | [Mutex] isItemNotified: received:node:c3a6ee86-0d62-4b18-9eb5-9e3901b0e8c6:localhost:node-476e928c-d2a0-4a86-9da0-c07299566294:Node 476e928c-d2a0-4a86-9da0-c07299566294 :: false

publishItemsToNodes 0.286s
2021-04-05 22:40:47 |

2021-04-05 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:47 | ------------------------------------

2021-04-05 22:40:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-476e928c-d2a0-4a86-9da0-c07299566294</node><item-id>item-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d</item-id><entry><test>item-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d</test></entry></data>

2021-04-05 22:40:47 | 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-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d</value></item-id></result>

2021-04-05 22:40:47 | [Mutex] waiting for: [published:item:notifieditem-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d:admin@test-domain.com]

2021-04-05 22:40:47 | [Mutex] received everything.

2021-04-05 22:40:47 | [Mutex] isItemNotified: published:item:notifieditem-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d:admin@test-domain.com :: true

retractItemsFromNodes 0.288s
2021-04-05 22:40:47 |

2021-04-05 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:47 | ------------------------------------

2021-04-05 22:40:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-476e928c-d2a0-4a86-9da0-c07299566294</node><item-id>item-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d</item-id></data>

2021-04-05 22:40:48 | 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-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d</value></item-id></result>

2021-04-05 22:40:48 | [Mutex] received everything.

2021-04-05 22:40:48 | [Mutex] isItemNotified: retracted:item:notifieditem-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.276s
2021-04-05 22:40:47 |

2021-04-05 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:47 | ------------------------------------

2021-04-05 22:40:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-476e928c-d2a0-4a86-9da0-c07299566294</node><item-id>item-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d</item-id></data>

2021-04-05 22:40:47 | 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-476e928c-d2a0-4a86-9da0-c07299566294</value></node><item-id label="Item ID" type="text-single"><value>item-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d</value></item-id><item label="Item" type="text-multi"><value><item id="item-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d"><test>item-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d</test></item></value></item></result>

2021-04-05 22:40:47 | [Mutex] notify: [retrieved:item:item-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d:payload-matches:true:localhost]

2021-04-05 22:40:47 | [Mutex] received everything.

2021-04-05 22:40:47 | [Mutex] isItemNotified: retrieved:item:item-f0a7ece0-4c7e-4fc5-b13d-18af2a84439d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-05 22:40:47 |

2021-04-05 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:47 | ------------------------------------

2021-04-05 22:40:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-05 22:40:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-476e928c-d2a0-4a86-9da0-c07299566294</value><value>test</value><value>node-b4706f36-f7d0-452a-9564-5c90792baf80</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-04-05 22:40:47 |

2021-04-05 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:47 | ------------------------------------

2021-04-05 22:40:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-476e928c-d2a0-4a86-9da0-c07299566294)</node-pattern></data>

2021-04-05 22:40:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.095s
2021-04-05 22:40:46 |

2021-04-05 22:40:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:46 | ------------------------------------

2021-04-05 22:40:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-476e928c-d2a0-4a86-9da0-c07299566294</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-05 22:40:46 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.247s
2021-04-05 22:40:48 |

2021-04-05 22:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:40:48 | ------------------------------------

2021-04-05 22:40:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-476e928c-d2a0-4a86-9da0-c07299566294</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-05 22:40:48 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>