Generated by TestNG with ReportNG at 22:26 PDT on Sunday 25 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.425s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2021-04-25 22:41:03 |

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

2021-04-25 22:41:03 | ------------------------------------

2021-04-25 22:41:03 | [Mutex] waiting for: [configured:node:node-19de3bcc-fa97-4a9e-bd61-b25269750c0e:node-d0267bb1-9d9c-44d5-b8fb-165acf139e50]

2021-04-25 22:41:03 | [Mutex] received everything.

2021-04-25 22:41:03 | [Mutex] isItemNotified: configured:node:node-19de3bcc-fa97-4a9e-bd61-b25269750c0e:node-d0267bb1-9d9c-44d5-b8fb-165acf139e50 :: true

2021-04-25 22:41:04 | [Mutex] waiting for: [received:nodes:b8aeb0fc-1600-480f-9cb4-7e6e1cb952a1:localhost]

2021-04-25 22:41:04 | [Mutex] received everything.

2021-04-25 22:41:04 | [Mutex] isItemNotified: received:node:b8aeb0fc-1600-480f-9cb4-7e6e1cb952a1:localhost:node-19de3bcc-fa97-4a9e-bd61-b25269750c0e:Node 19de3bcc-fa97-4a9e-bd61-b25269750c0e :: true

2021-04-25 22:41:04 | [Mutex] waiting for: [received:nodes:cb4f9a15-a41b-4961-b960-39737e66777e:localhost]

2021-04-25 22:41:04 | [Mutex] waiting for: [received:nodes:cb4f9a15-a41b-4961-b960-39737e66777e:localhost]

2021-04-25 22:41:04 | [Mutex] waiting for: [received:nodes:cb4f9a15-a41b-4961-b960-39737e66777e:localhost]

2021-04-25 22:41:04 | [Mutex] received everything.

2021-04-25 22:41:04 | [Mutex] isItemNotified: received:node:cb4f9a15-a41b-4961-b960-39737e66777e:localhost:node-19de3bcc-fa97-4a9e-bd61-b25269750c0e:Node 19de3bcc-fa97-4a9e-bd61-b25269750c0e :: false

createNodes 1.600s
2021-04-25 22:41:00 |

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

2021-04-25 22:41:00 | ------------------------------------

2021-04-25 22:41:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-19de3bcc-fa97-4a9e-bd61-b25269750c0e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 19de3bcc-fa97-4a9e-bd61-b25269750c0e</title></pubsub></data>

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

2021-04-25 22:41:02 | [Mutex] waiting for: [received:nodes:1e8c9bcd-3846-4b5d-a364-7da46ecbc4c2:localhost]

2021-04-25 22:41:02 | [Mutex] received everything.

2021-04-25 22:41:02 | [Mutex] isItemNotified: received:node:1e8c9bcd-3846-4b5d-a364-7da46ecbc4c2:localhost:node-19de3bcc-fa97-4a9e-bd61-b25269750c0e:Node 19de3bcc-fa97-4a9e-bd61-b25269750c0e :: true

createSubnodes 1.030s
2021-04-25 22:41:02 |

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

2021-04-25 22:41:02 | ------------------------------------

2021-04-25 22:41:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d0267bb1-9d9c-44d5-b8fb-165acf139e50</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d0267bb1-9d9c-44d5-b8fb-165acf139e50</title></pubsub></data>

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

2021-04-25 22:41:03 | [Mutex] waiting for: [received:nodes:f20e456f-8e26-4f01-870e-2c7535432e33:localhost]

2021-04-25 22:41:03 | [Mutex] received everything.

2021-04-25 22:41:03 | [Mutex] isItemNotified: received:node:f20e456f-8e26-4f01-870e-2c7535432e33:localhost:node-d0267bb1-9d9c-44d5-b8fb-165acf139e50:Node d0267bb1-9d9c-44d5-b8fb-165acf139e50 :: true

deleteNodes 1.020s
2021-04-25 22:41:09 |

2021-04-25 22:41:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:41:09 | ------------------------------------

2021-04-25 22:41:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d0267bb1-9d9c-44d5-b8fb-165acf139e50</node></data>

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

2021-04-25 22:41:10 | [Mutex] waiting for: [received:nodes:2fd6f2ba-4711-4dbe-98cd-40df34b2fa76:localhost]

2021-04-25 22:41:10 | [Mutex] received everything.

2021-04-25 22:41:10 | [Mutex] isItemNotified: received:node:2fd6f2ba-4711-4dbe-98cd-40df34b2fa76:localhost:node-d0267bb1-9d9c-44d5-b8fb-165acf139e50:Node d0267bb1-9d9c-44d5-b8fb-165acf139e50 :: false

deleteSubnodes 1.163s
2021-04-25 22:41:08 |

2021-04-25 22:41:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:41:08 | ------------------------------------

2021-04-25 22:41:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-19de3bcc-fa97-4a9e-bd61-b25269750c0e</node></data>

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

2021-04-25 22:41:09 | [Mutex] waiting for: [received:nodes:665e16fc-9bd0-4884-a13a-8c4f30582b08:localhost]

2021-04-25 22:41:09 | [Mutex] received everything.

2021-04-25 22:41:09 | [Mutex] isItemNotified: received:node:665e16fc-9bd0-4884-a13a-8c4f30582b08:localhost:node-19de3bcc-fa97-4a9e-bd61-b25269750c0e:Node 19de3bcc-fa97-4a9e-bd61-b25269750c0e :: false

2021-04-25 22:41:09 | [Mutex] waiting for: [received:nodes:dbfe6648-a33c-4fe9-80b4-4a8bb09d94d6:localhost]

2021-04-25 22:41:09 | [Mutex] received everything.

2021-04-25 22:41:09 | [Mutex] isItemNotified: received:node:dbfe6648-a33c-4fe9-80b4-4a8bb09d94d6:localhost:node-19de3bcc-fa97-4a9e-bd61-b25269750c0e:Node 19de3bcc-fa97-4a9e-bd61-b25269750c0e :: false

publishItemsToNodes 0.284s
2021-04-25 22:41:05 |

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

2021-04-25 22:41:05 | ------------------------------------

2021-04-25 22:41:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-19de3bcc-fa97-4a9e-bd61-b25269750c0e</node><item-id>item-42418267-b421-4def-9699-73fb688b40b4</item-id><entry><test>item-42418267-b421-4def-9699-73fb688b40b4</test></entry></data>

2021-04-25 22:41:05 | 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-42418267-b421-4def-9699-73fb688b40b4</value></item-id></result>

2021-04-25 22:41:05 | [Mutex] waiting for: [published:item:notifieditem-42418267-b421-4def-9699-73fb688b40b4:admin@test-domain.com]

2021-04-25 22:41:05 | [Mutex] received everything.

2021-04-25 22:41:05 | [Mutex] isItemNotified: published:item:notifieditem-42418267-b421-4def-9699-73fb688b40b4:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2021-04-25 22:41:06 |

2021-04-25 22:41:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:41:06 | ------------------------------------

2021-04-25 22:41:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-19de3bcc-fa97-4a9e-bd61-b25269750c0e</node><item-id>item-42418267-b421-4def-9699-73fb688b40b4</item-id></data>

2021-04-25 22:41:06 | 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-42418267-b421-4def-9699-73fb688b40b4</value></item-id></result>

2021-04-25 22:41:06 | [Mutex] received everything.

2021-04-25 22:41:06 | [Mutex] isItemNotified: retracted:item:notifieditem-42418267-b421-4def-9699-73fb688b40b4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.356s
2021-04-25 22:41:05 |

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

2021-04-25 22:41:05 | ------------------------------------

2021-04-25 22:41:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-19de3bcc-fa97-4a9e-bd61-b25269750c0e</node><item-id>item-42418267-b421-4def-9699-73fb688b40b4</item-id></data>

2021-04-25 22:41:06 | 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-19de3bcc-fa97-4a9e-bd61-b25269750c0e</value></node><item-id type="text-single" label="Item ID"><value>item-42418267-b421-4def-9699-73fb688b40b4</value></item-id><item type="text-multi" label="Item"><value><item id="item-42418267-b421-4def-9699-73fb688b40b4"><test>item-42418267-b421-4def-9699-73fb688b40b4</test></item></value></item></result>

2021-04-25 22:41:06 | [Mutex] notify: [retrieved:item:item-42418267-b421-4def-9699-73fb688b40b4:payload-matches:true:localhost]

2021-04-25 22:41:06 | [Mutex] received everything.

2021-04-25 22:41:06 | [Mutex] isItemNotified: retrieved:item:item-42418267-b421-4def-9699-73fb688b40b4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-25 22:41:06 |

2021-04-25 22:41:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:41:06 | ------------------------------------

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

2021-04-25 22:41:06 | 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-19de3bcc-fa97-4a9e-bd61-b25269750c0e</value><value>node-d0267bb1-9d9c-44d5-b8fb-165acf139e50</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-25 22:41:06 |

2021-04-25 22:41:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:41:06 | ------------------------------------

2021-04-25 22:41:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-19de3bcc-fa97-4a9e-bd61-b25269750c0e)</node-pattern></data>

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

subscribeNodes 1.127s
2021-04-25 22:41:04 |

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

2021-04-25 22:41:04 | ------------------------------------

2021-04-25 22:41:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-19de3bcc-fa97-4a9e-bd61-b25269750c0e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.327s
2021-04-25 22:41:06 |

2021-04-25 22:41:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:41:06 | ------------------------------------

2021-04-25 22:41:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-19de3bcc-fa97-4a9e-bd61-b25269750c0e</node><jids><value>admin@test-domain.com</value></jids></data>

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