Generated by TestNG with ReportNG at 22:26 PDT on Sunday 21 March 2021
root@43fec6d4badf / 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.095s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.145s
2021-03-21 22:44:05 |

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

2021-03-21 22:44:05 | ------------------------------------

2021-03-21 22:44:05 | [Mutex] waiting for: [configured:node:node-a2d6d2de-59cc-4406-a492-e775dadd9a46:node-d7ab3394-1ebe-4417-b784-b8968ebbae8e]

2021-03-21 22:44:05 | [Mutex] received everything.

2021-03-21 22:44:05 | [Mutex] isItemNotified: configured:node:node-a2d6d2de-59cc-4406-a492-e775dadd9a46:node-d7ab3394-1ebe-4417-b784-b8968ebbae8e :: true

2021-03-21 22:44:06 | [Mutex] waiting for: [received:nodes:febe7949-b689-49ca-a253-e590e0cf7bf5:localhost]

2021-03-21 22:44:06 | [Mutex] received everything.

2021-03-21 22:44:06 | [Mutex] isItemNotified: received:node:febe7949-b689-49ca-a253-e590e0cf7bf5:localhost:node-a2d6d2de-59cc-4406-a492-e775dadd9a46:Node a2d6d2de-59cc-4406-a492-e775dadd9a46 :: true

2021-03-21 22:44:06 | [Mutex] waiting for: [received:nodes:90d4fafd-ec56-48f6-a62c-0b81f423df3e:localhost]

2021-03-21 22:44:06 | [Mutex] received everything.

2021-03-21 22:44:06 | [Mutex] isItemNotified: received:node:90d4fafd-ec56-48f6-a62c-0b81f423df3e:localhost:node-a2d6d2de-59cc-4406-a492-e775dadd9a46:Node a2d6d2de-59cc-4406-a492-e775dadd9a46 :: false

createNodes 1.496s
2021-03-21 22:44:03 |

2021-03-21 22:44:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:44:03 | ------------------------------------

2021-03-21 22:44:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a2d6d2de-59cc-4406-a492-e775dadd9a46</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a2d6d2de-59cc-4406-a492-e775dadd9a46</title></pubsub></data>

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

2021-03-21 22:44:04 | [Mutex] waiting for: [received:nodes:53146f14-a244-47d6-9ca5-e32dc9a94d2c:localhost]

2021-03-21 22:44:04 | [Mutex] received everything.

2021-03-21 22:44:04 | [Mutex] isItemNotified: received:node:53146f14-a244-47d6-9ca5-e32dc9a94d2c:localhost:node-a2d6d2de-59cc-4406-a492-e775dadd9a46:Node a2d6d2de-59cc-4406-a492-e775dadd9a46 :: true

createSubnodes 1.030s
2021-03-21 22:44:04 |

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

2021-03-21 22:44:04 | ------------------------------------

2021-03-21 22:44:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d7ab3394-1ebe-4417-b784-b8968ebbae8e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d7ab3394-1ebe-4417-b784-b8968ebbae8e</title></pubsub></data>

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

2021-03-21 22:44:05 | [Mutex] waiting for: [received:nodes:a35b1348-e11a-4b8a-aab0-0417ac29cee6:localhost]

2021-03-21 22:44:05 | [Mutex] received everything.

2021-03-21 22:44:05 | [Mutex] isItemNotified: received:node:a35b1348-e11a-4b8a-aab0-0417ac29cee6:localhost:node-d7ab3394-1ebe-4417-b784-b8968ebbae8e:Node d7ab3394-1ebe-4417-b784-b8968ebbae8e :: true

deleteNodes 1.020s
2021-03-21 22:44:11 |

2021-03-21 22:44:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:44:11 | ------------------------------------

2021-03-21 22:44:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d7ab3394-1ebe-4417-b784-b8968ebbae8e</node></data>

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

2021-03-21 22:44:12 | [Mutex] waiting for: [received:nodes:95ea4404-bca3-4f23-90fe-6bbc3e33a4f7:localhost]

2021-03-21 22:44:12 | [Mutex] received everything.

2021-03-21 22:44:12 | [Mutex] isItemNotified: received:node:95ea4404-bca3-4f23-90fe-6bbc3e33a4f7:localhost:node-d7ab3394-1ebe-4417-b784-b8968ebbae8e:Node d7ab3394-1ebe-4417-b784-b8968ebbae8e :: false

deleteSubnodes 1.117s
2021-03-21 22:44:10 |

2021-03-21 22:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:44:10 | ------------------------------------

2021-03-21 22:44:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a2d6d2de-59cc-4406-a492-e775dadd9a46</node></data>

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

2021-03-21 22:44:11 | [Mutex] waiting for: [received:nodes:b8782322-1249-4931-b0dd-51bb1791935b:localhost]

2021-03-21 22:44:11 | [Mutex] received everything.

2021-03-21 22:44:11 | [Mutex] isItemNotified: received:node:b8782322-1249-4931-b0dd-51bb1791935b:localhost:node-a2d6d2de-59cc-4406-a492-e775dadd9a46:Node a2d6d2de-59cc-4406-a492-e775dadd9a46 :: false

2021-03-21 22:44:11 | [Mutex] waiting for: [received:nodes:617ecdc0-888f-4d75-bed4-e3c880696731:localhost]

2021-03-21 22:44:11 | [Mutex] received everything.

2021-03-21 22:44:11 | [Mutex] isItemNotified: received:node:617ecdc0-888f-4d75-bed4-e3c880696731:localhost:node-a2d6d2de-59cc-4406-a492-e775dadd9a46:Node a2d6d2de-59cc-4406-a492-e775dadd9a46 :: false

publishItemsToNodes 0.184s
2021-03-21 22:44:07 |

2021-03-21 22:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:44:07 | ------------------------------------

2021-03-21 22:44:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a2d6d2de-59cc-4406-a492-e775dadd9a46</node><item-id>item-fe7e7691-d4c4-4630-afba-25347b946eff</item-id><entry><test>item-fe7e7691-d4c4-4630-afba-25347b946eff</test></entry></data>

2021-03-21 22:44:07 | 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-fe7e7691-d4c4-4630-afba-25347b946eff</value></item-id></result>

2021-03-21 22:44:07 | [Mutex] waiting for: [published:item:notifieditem-fe7e7691-d4c4-4630-afba-25347b946eff:admin@test-domain.com]

2021-03-21 22:44:07 | [Mutex] received everything.

2021-03-21 22:44:07 | [Mutex] isItemNotified: published:item:notifieditem-fe7e7691-d4c4-4630-afba-25347b946eff:admin@test-domain.com :: true

retractItemsFromNodes 0.306s
2021-03-21 22:44:08 |

2021-03-21 22:44:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:44:08 | ------------------------------------

2021-03-21 22:44:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a2d6d2de-59cc-4406-a492-e775dadd9a46</node><item-id>item-fe7e7691-d4c4-4630-afba-25347b946eff</item-id></data>

2021-03-21 22:44:08 | 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-fe7e7691-d4c4-4630-afba-25347b946eff</value></item-id></result>

2021-03-21 22:44:08 | [Mutex] waiting for: [retracted:item:notifieditem-fe7e7691-d4c4-4630-afba-25347b946eff:admin@test-domain.com]

2021-03-21 22:44:08 | [Mutex] received everything.

2021-03-21 22:44:08 | [Mutex] isItemNotified: retracted:item:notifieditem-fe7e7691-d4c4-4630-afba-25347b946eff:admin@test-domain.com :: true

retrieveItemsFromNodes 0.236s
2021-03-21 22:44:07 |

2021-03-21 22:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:44:07 | ------------------------------------

2021-03-21 22:44:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a2d6d2de-59cc-4406-a492-e775dadd9a46</node><item-id>item-fe7e7691-d4c4-4630-afba-25347b946eff</item-id></data>

2021-03-21 22:44:08 | 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-a2d6d2de-59cc-4406-a492-e775dadd9a46</value></node><item-id label="Item ID" type="text-single"><value>item-fe7e7691-d4c4-4630-afba-25347b946eff</value></item-id><item label="Item" type="text-multi"><value><item id="item-fe7e7691-d4c4-4630-afba-25347b946eff"><test>item-fe7e7691-d4c4-4630-afba-25347b946eff</test></item></value></item></result>

2021-03-21 22:44:08 | [Mutex] notify: [retrieved:item:item-fe7e7691-d4c4-4630-afba-25347b946eff:payload-matches:true:localhost]

2021-03-21 22:44:08 | [Mutex] received everything.

2021-03-21 22:44:08 | [Mutex] isItemNotified: retrieved:item:item-fe7e7691-d4c4-4630-afba-25347b946eff:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-03-21 22:44:08 |

2021-03-21 22:44:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:44:08 | ------------------------------------

2021-03-21 22:44:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-21 22:44:08 | 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-d7ab3394-1ebe-4417-b784-b8968ebbae8e</value><value>node-a2d6d2de-59cc-4406-a492-e775dadd9a46</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-03-21 22:44:08 |

2021-03-21 22:44:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:44:08 | ------------------------------------

2021-03-21 22:44:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a2d6d2de-59cc-4406-a492-e775dadd9a46)</node-pattern></data>

2021-03-21 22:44:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.115s
2021-03-21 22:44:06 |

2021-03-21 22:44:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:44:06 | ------------------------------------

2021-03-21 22:44:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a2d6d2de-59cc-4406-a492-e775dadd9a46</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.420s
2021-03-21 22:44:08 |

2021-03-21 22:44:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-21 22:44:08 | ------------------------------------

2021-03-21 22:44:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a2d6d2de-59cc-4406-a492-e775dadd9a46</node><jids><value>admin@test-domain.com</value></jids></data>

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