Generated by TestNG with ReportNG at 21:13 PST on Friday 05 February 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.688s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.137s
2021-02-05 21:30:26 |

2021-02-05 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:26 | ------------------------------------

2021-02-05 21:30:26 | [Mutex] waiting for: [configured:node:node-7ca360e8-0a00-4e2f-bf86-1ba5db326427:node-0e3f3ede-992f-45a1-9595-401e9e169f38]

2021-02-05 21:30:26 | [Mutex] received everything.

2021-02-05 21:30:26 | [Mutex] isItemNotified: configured:node:node-7ca360e8-0a00-4e2f-bf86-1ba5db326427:node-0e3f3ede-992f-45a1-9595-401e9e169f38 :: true

2021-02-05 21:30:27 | [Mutex] waiting for: [received:nodes:9eaa46ba-b22b-4654-a351-64e6241525a7:localhost]

2021-02-05 21:30:27 | [Mutex] received everything.

2021-02-05 21:30:27 | [Mutex] isItemNotified: received:node:9eaa46ba-b22b-4654-a351-64e6241525a7:localhost:node-7ca360e8-0a00-4e2f-bf86-1ba5db326427:Node 7ca360e8-0a00-4e2f-bf86-1ba5db326427 :: true

2021-02-05 21:30:27 | [Mutex] waiting for: [received:nodes:c5ed6d47-1e78-4616-8299-2ffc4f0c498e:localhost]

2021-02-05 21:30:27 | [Mutex] waiting for: [received:nodes:c5ed6d47-1e78-4616-8299-2ffc4f0c498e:localhost]

2021-02-05 21:30:27 | [Mutex] waiting for: [received:nodes:c5ed6d47-1e78-4616-8299-2ffc4f0c498e:localhost]

2021-02-05 21:30:27 | [Mutex] waiting for: [received:nodes:c5ed6d47-1e78-4616-8299-2ffc4f0c498e:localhost]

2021-02-05 21:30:27 | [Mutex] received everything.

2021-02-05 21:30:27 | [Mutex] isItemNotified: received:node:c5ed6d47-1e78-4616-8299-2ffc4f0c498e:localhost:node-7ca360e8-0a00-4e2f-bf86-1ba5db326427:Node 7ca360e8-0a00-4e2f-bf86-1ba5db326427 :: false

createNodes 1.609s
2021-02-05 21:30:23 |

2021-02-05 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:23 | ------------------------------------

2021-02-05 21:30:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7ca360e8-0a00-4e2f-bf86-1ba5db326427</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7ca360e8-0a00-4e2f-bf86-1ba5db326427</title></pubsub></data>

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

2021-02-05 21:30:25 | [Mutex] waiting for: [received:nodes:4fdfef28-5472-4304-baf2-bd62138901db:localhost]

2021-02-05 21:30:25 | [Mutex] received everything.

2021-02-05 21:30:25 | [Mutex] isItemNotified: received:node:4fdfef28-5472-4304-baf2-bd62138901db:localhost:node-7ca360e8-0a00-4e2f-bf86-1ba5db326427:Node 7ca360e8-0a00-4e2f-bf86-1ba5db326427 :: true

createSubnodes 1.026s
2021-02-05 21:30:25 |

2021-02-05 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:25 | ------------------------------------

2021-02-05 21:30:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0e3f3ede-992f-45a1-9595-401e9e169f38</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0e3f3ede-992f-45a1-9595-401e9e169f38</title></pubsub></data>

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

2021-02-05 21:30:26 | [Mutex] waiting for: [received:nodes:f0baae46-652d-418a-89d7-8da27da886e8:localhost]

2021-02-05 21:30:26 | [Mutex] waiting for: [received:nodes:f0baae46-652d-418a-89d7-8da27da886e8:localhost]

2021-02-05 21:30:26 | [Mutex] received everything.

2021-02-05 21:30:26 | [Mutex] isItemNotified: received:node:f0baae46-652d-418a-89d7-8da27da886e8:localhost:node-0e3f3ede-992f-45a1-9595-401e9e169f38:Node 0e3f3ede-992f-45a1-9595-401e9e169f38 :: true

deleteNodes 1.015s
2021-02-05 21:30:32 |

2021-02-05 21:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:32 | ------------------------------------

2021-02-05 21:30:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0e3f3ede-992f-45a1-9595-401e9e169f38</node></data>

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

2021-02-05 21:30:33 | [Mutex] waiting for: [received:nodes:c9dad50c-b0ef-4baf-8f8c-a5a8185aedf6:localhost]

2021-02-05 21:30:33 | [Mutex] received everything.

2021-02-05 21:30:33 | [Mutex] isItemNotified: received:node:c9dad50c-b0ef-4baf-8f8c-a5a8185aedf6:localhost:node-0e3f3ede-992f-45a1-9595-401e9e169f38:Node 0e3f3ede-992f-45a1-9595-401e9e169f38 :: false

deleteSubnodes 1.151s
2021-02-05 21:30:31 |

2021-02-05 21:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:31 | ------------------------------------

2021-02-05 21:30:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7ca360e8-0a00-4e2f-bf86-1ba5db326427</node></data>

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

2021-02-05 21:30:32 | [Mutex] waiting for: [received:nodes:101dbfd5-78f9-424d-be2e-b13279577029:localhost]

2021-02-05 21:30:32 | [Mutex] received everything.

2021-02-05 21:30:32 | [Mutex] isItemNotified: received:node:101dbfd5-78f9-424d-be2e-b13279577029:localhost:node-7ca360e8-0a00-4e2f-bf86-1ba5db326427:Node 7ca360e8-0a00-4e2f-bf86-1ba5db326427 :: false

2021-02-05 21:30:32 | [Mutex] waiting for: [received:nodes:56cd75bf-524a-4585-986a-48e129d96864:localhost]

2021-02-05 21:30:32 | [Mutex] received everything.

2021-02-05 21:30:32 | [Mutex] isItemNotified: received:node:56cd75bf-524a-4585-986a-48e129d96864:localhost:node-7ca360e8-0a00-4e2f-bf86-1ba5db326427:Node 7ca360e8-0a00-4e2f-bf86-1ba5db326427 :: false

publishItemsToNodes 0.271s
2021-02-05 21:30:28 |

2021-02-05 21:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:28 | ------------------------------------

2021-02-05 21:30:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7ca360e8-0a00-4e2f-bf86-1ba5db326427</node><item-id>item-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14</item-id><entry><test>item-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14</test></entry></data>

2021-02-05 21:30:29 | 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-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14</value></item-id></result>

2021-02-05 21:30:29 | [Mutex] waiting for: [published:item:notifieditem-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14:admin@test-domain.com]

2021-02-05 21:30:29 | [Mutex] received everything.

2021-02-05 21:30:29 | [Mutex] isItemNotified: published:item:notifieditem-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14:admin@test-domain.com :: true

retractItemsFromNodes 0.447s
2021-02-05 21:30:29 |

2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:29 | ------------------------------------

2021-02-05 21:30:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7ca360e8-0a00-4e2f-bf86-1ba5db326427</node><item-id>item-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14</item-id></data>

2021-02-05 21:30:29 | 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-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14</value></item-id></result>

2021-02-05 21:30:29 | [Mutex] received everything.

2021-02-05 21:30:29 | [Mutex] isItemNotified: retracted:item:notifieditem-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14:admin@test-domain.com :: true

retrieveItemsFromNodes 0.290s
2021-02-05 21:30:29 |

2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:29 | ------------------------------------

2021-02-05 21:30:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7ca360e8-0a00-4e2f-bf86-1ba5db326427</node><item-id>item-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14</item-id></data>

2021-02-05 21:30:29 | 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-7ca360e8-0a00-4e2f-bf86-1ba5db326427</value></node><item-id label="Item ID" type="text-single"><value>item-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14</value></item-id><item label="Item" type="text-multi"><value><item id="item-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14"><test>item-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14</test></item></value></item></result>

2021-02-05 21:30:29 | [Mutex] notify: [retrieved:item:item-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14:payload-matches:true:localhost]

2021-02-05 21:30:29 | [Mutex] received everything.

2021-02-05 21:30:29 | [Mutex] isItemNotified: retrieved:item:item-3dbed6bd-7703-4a1e-84ac-d86bb40ebe14:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-02-05 21:30:29 |

2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:29 | ------------------------------------

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

2021-02-05 21:30:29 | 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-7ca360e8-0a00-4e2f-bf86-1ba5db326427</value><value>node-0e3f3ede-992f-45a1-9595-401e9e169f38</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-02-05 21:30:29 |

2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:29 | ------------------------------------

2021-02-05 21:30:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7ca360e8-0a00-4e2f-bf86-1ba5db326427)</node-pattern></data>

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

subscribeNodes 1.103s
2021-02-05 21:30:27 |

2021-02-05 21:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:27 | ------------------------------------

2021-02-05 21:30:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7ca360e8-0a00-4e2f-bf86-1ba5db326427</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.363s
2021-02-05 21:30:29 |

2021-02-05 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:30:29 | ------------------------------------

2021-02-05 21:30:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7ca360e8-0a00-4e2f-bf86-1ba5db326427</node><jids><value>admin@test-domain.com</value></jids></data>

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