Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 28 April 2021
root@785cf647a4ab / 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.310s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2021-04-28 22:28:57 |

2021-04-28 22:28:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:28:57 | ------------------------------------

2021-04-28 22:28:57 | [Mutex] waiting for: [configured:node:node-5a59c545-b1d8-47bf-90d1-fe65b16d9345:node-ace6fa51-5373-41ea-9411-79e4c6d2a069]

2021-04-28 22:28:57 | [Mutex] received everything.

2021-04-28 22:28:57 | [Mutex] isItemNotified: configured:node:node-5a59c545-b1d8-47bf-90d1-fe65b16d9345:node-ace6fa51-5373-41ea-9411-79e4c6d2a069 :: true

2021-04-28 22:28:58 | [Mutex] waiting for: [received:nodes:3980c880-eb51-43ea-a249-1167022b9e6f:localhost]

2021-04-28 22:28:58 | [Mutex] received everything.

2021-04-28 22:28:58 | [Mutex] isItemNotified: received:node:3980c880-eb51-43ea-a249-1167022b9e6f:localhost:node-5a59c545-b1d8-47bf-90d1-fe65b16d9345:Node 5a59c545-b1d8-47bf-90d1-fe65b16d9345 :: true

2021-04-28 22:28:58 | [Mutex] waiting for: [received:nodes:eddc6d0b-9d41-4dc3-b4d5-e47fc186e942:localhost]

2021-04-28 22:28:58 | [Mutex] received everything.

2021-04-28 22:28:58 | [Mutex] isItemNotified: received:node:eddc6d0b-9d41-4dc3-b4d5-e47fc186e942:localhost:node-5a59c545-b1d8-47bf-90d1-fe65b16d9345:Node 5a59c545-b1d8-47bf-90d1-fe65b16d9345 :: false

createNodes 1.577s
2021-04-28 22:28:54 |

2021-04-28 22:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:28:54 | ------------------------------------

2021-04-28 22:28:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5a59c545-b1d8-47bf-90d1-fe65b16d9345</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5a59c545-b1d8-47bf-90d1-fe65b16d9345</title></pubsub></data>

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

2021-04-28 22:28:56 | [Mutex] waiting for: [received:nodes:72d153e5-dc89-488d-9754-d8439c78df4e:localhost]

2021-04-28 22:28:56 | [Mutex] received everything.

2021-04-28 22:28:56 | [Mutex] isItemNotified: received:node:72d153e5-dc89-488d-9754-d8439c78df4e:localhost:node-5a59c545-b1d8-47bf-90d1-fe65b16d9345:Node 5a59c545-b1d8-47bf-90d1-fe65b16d9345 :: true

createSubnodes 1.026s
2021-04-28 22:28:56 |

2021-04-28 22:28:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:28:56 | ------------------------------------

2021-04-28 22:28:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ace6fa51-5373-41ea-9411-79e4c6d2a069</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ace6fa51-5373-41ea-9411-79e4c6d2a069</title></pubsub></data>

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

2021-04-28 22:28:57 | [Mutex] waiting for: [received:nodes:4b60055b-bd15-48d4-900a-9460e465b497:localhost]

2021-04-28 22:28:57 | [Mutex] received everything.

2021-04-28 22:28:57 | [Mutex] isItemNotified: received:node:4b60055b-bd15-48d4-900a-9460e465b497:localhost:node-ace6fa51-5373-41ea-9411-79e4c6d2a069:Node ace6fa51-5373-41ea-9411-79e4c6d2a069 :: true

deleteNodes 1.025s
2021-04-28 22:29:03 |

2021-04-28 22:29:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:29:03 | ------------------------------------

2021-04-28 22:29:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ace6fa51-5373-41ea-9411-79e4c6d2a069</node></data>

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

2021-04-28 22:29:04 | [Mutex] waiting for: [received:nodes:9b114dc0-3657-478d-aa50-9788e70564ab:localhost]

2021-04-28 22:29:04 | [Mutex] received everything.

2021-04-28 22:29:04 | [Mutex] isItemNotified: received:node:9b114dc0-3657-478d-aa50-9788e70564ab:localhost:node-ace6fa51-5373-41ea-9411-79e4c6d2a069:Node ace6fa51-5373-41ea-9411-79e4c6d2a069 :: false

deleteSubnodes 1.169s
2021-04-28 22:29:02 |

2021-04-28 22:29:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:29:02 | ------------------------------------

2021-04-28 22:29:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5a59c545-b1d8-47bf-90d1-fe65b16d9345</node></data>

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

2021-04-28 22:29:03 | [Mutex] waiting for: [received:nodes:f5ef6067-ec07-4587-a50f-de7c805e9078:localhost]

2021-04-28 22:29:03 | [Mutex] waiting for: [received:nodes:f5ef6067-ec07-4587-a50f-de7c805e9078:localhost]

2021-04-28 22:29:03 | [Mutex] received everything.

2021-04-28 22:29:03 | [Mutex] isItemNotified: received:node:f5ef6067-ec07-4587-a50f-de7c805e9078:localhost:node-5a59c545-b1d8-47bf-90d1-fe65b16d9345:Node 5a59c545-b1d8-47bf-90d1-fe65b16d9345 :: false

2021-04-28 22:29:03 | [Mutex] waiting for: [received:nodes:252f656e-84b4-4176-a88e-59b3223c89d8:localhost]

2021-04-28 22:29:03 | [Mutex] received everything.

2021-04-28 22:29:03 | [Mutex] isItemNotified: received:node:252f656e-84b4-4176-a88e-59b3223c89d8:localhost:node-5a59c545-b1d8-47bf-90d1-fe65b16d9345:Node 5a59c545-b1d8-47bf-90d1-fe65b16d9345 :: false

publishItemsToNodes 0.281s
2021-04-28 22:28:59 |

2021-04-28 22:28:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:28:59 | ------------------------------------

2021-04-28 22:28:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5a59c545-b1d8-47bf-90d1-fe65b16d9345</node><item-id>item-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7</item-id><entry><test>item-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7</test></entry></data>

2021-04-28 22:29:00 | 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-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7</value></item-id></result>

2021-04-28 22:29:00 | [Mutex] received everything.

2021-04-28 22:29:00 | [Mutex] isItemNotified: published:item:notifieditem-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7:admin@test-domain.com :: true

retractItemsFromNodes 0.211s
2021-04-28 22:29:00 |

2021-04-28 22:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:29:00 | ------------------------------------

2021-04-28 22:29:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5a59c545-b1d8-47bf-90d1-fe65b16d9345</node><item-id>item-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7</item-id></data>

2021-04-28 22:29:00 | 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-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7</value></item-id></result>

2021-04-28 22:29:00 | [Mutex] received everything.

2021-04-28 22:29:00 | [Mutex] isItemNotified: retracted:item:notifieditem-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.297s
2021-04-28 22:29:00 |

2021-04-28 22:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:29:00 | ------------------------------------

2021-04-28 22:29:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5a59c545-b1d8-47bf-90d1-fe65b16d9345</node><item-id>item-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7</item-id></data>

2021-04-28 22:29:00 | 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-5a59c545-b1d8-47bf-90d1-fe65b16d9345</value></node><item-id label="Item ID" type="text-single"><value>item-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7</value></item-id><item label="Item" type="text-multi"><value><item id="item-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7"><test>item-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7</test></item></value></item></result>

2021-04-28 22:29:00 | [Mutex] notify: [retrieved:item:item-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7:payload-matches:true:localhost]

2021-04-28 22:29:00 | [Mutex] received everything.

2021-04-28 22:29:00 | [Mutex] isItemNotified: retrieved:item:item-f63e2d74-2901-4bfc-b9c3-17fe2b3d34e7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.072s
2021-04-28 22:29:00 |

2021-04-28 22:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:29:00 | ------------------------------------

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

2021-04-28 22:29:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-5a59c545-b1d8-47bf-90d1-fe65b16d9345</value><value>node-ace6fa51-5373-41ea-9411-79e4c6d2a069</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-04-28 22:29:00 |

2021-04-28 22:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:29:00 | ------------------------------------

2021-04-28 22:29:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5a59c545-b1d8-47bf-90d1-fe65b16d9345)</node-pattern></data>

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

subscribeNodes 1.181s
2021-04-28 22:28:58 |

2021-04-28 22:28:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:28:58 | ------------------------------------

2021-04-28 22:28:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5a59c545-b1d8-47bf-90d1-fe65b16d9345</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.319s
2021-04-28 22:29:00 |

2021-04-28 22:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-28 22:29:00 | ------------------------------------

2021-04-28 22:29:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5a59c545-b1d8-47bf-90d1-fe65b16d9345</node><jids><value>admin@test-domain.com</value></jids></data>

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