Generated by TestNG with ReportNG at 22:46 PDT on Thursday 13 May 2021
root@b2c2a8eba6e6 / 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.247s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2021-05-13 23:01:42 |

2021-05-13 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:42 | ------------------------------------

2021-05-13 23:01:42 | [Mutex] waiting for: [configured:node:node-8fbd3df1-0070-4433-b812-4fca2b62fb03:node-43e0103f-bf80-4688-8c17-dda425763a02]

2021-05-13 23:01:42 | [Mutex] received everything.

2021-05-13 23:01:42 | [Mutex] isItemNotified: configured:node:node-8fbd3df1-0070-4433-b812-4fca2b62fb03:node-43e0103f-bf80-4688-8c17-dda425763a02 :: true

2021-05-13 23:01:43 | [Mutex] waiting for: [received:nodes:60787a2d-4686-497c-b7b0-79f210bfd81a:localhost]

2021-05-13 23:01:43 | [Mutex] received everything.

2021-05-13 23:01:43 | [Mutex] isItemNotified: received:node:60787a2d-4686-497c-b7b0-79f210bfd81a:localhost:node-8fbd3df1-0070-4433-b812-4fca2b62fb03:Node 8fbd3df1-0070-4433-b812-4fca2b62fb03 :: true

2021-05-13 23:01:43 | [Mutex] waiting for: [received:nodes:c068f9a0-2601-4f16-b728-140d68d361b6:localhost]

2021-05-13 23:01:43 | [Mutex] received everything.

2021-05-13 23:01:43 | [Mutex] isItemNotified: received:node:c068f9a0-2601-4f16-b728-140d68d361b6:localhost:node-8fbd3df1-0070-4433-b812-4fca2b62fb03:Node 8fbd3df1-0070-4433-b812-4fca2b62fb03 :: false

createNodes 1.552s
2021-05-13 23:01:39 |

2021-05-13 23:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:39 | ------------------------------------

2021-05-13 23:01:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8fbd3df1-0070-4433-b812-4fca2b62fb03</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8fbd3df1-0070-4433-b812-4fca2b62fb03</title></pubsub></data>

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

2021-05-13 23:01:41 | [Mutex] waiting for: [received:nodes:390605a0-92ad-4d6b-880b-3d6ecaec3046:localhost]

2021-05-13 23:01:41 | [Mutex] received everything.

2021-05-13 23:01:41 | [Mutex] isItemNotified: received:node:390605a0-92ad-4d6b-880b-3d6ecaec3046:localhost:node-8fbd3df1-0070-4433-b812-4fca2b62fb03:Node 8fbd3df1-0070-4433-b812-4fca2b62fb03 :: true

createSubnodes 1.032s
2021-05-13 23:01:41 |

2021-05-13 23:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:41 | ------------------------------------

2021-05-13 23:01:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-43e0103f-bf80-4688-8c17-dda425763a02</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 43e0103f-bf80-4688-8c17-dda425763a02</title></pubsub></data>

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

2021-05-13 23:01:42 | [Mutex] waiting for: [received:nodes:af9a3ecc-5d1e-423e-9cd2-c9cbad40dd15:localhost]

2021-05-13 23:01:42 | [Mutex] received everything.

2021-05-13 23:01:42 | [Mutex] isItemNotified: received:node:af9a3ecc-5d1e-423e-9cd2-c9cbad40dd15:localhost:node-43e0103f-bf80-4688-8c17-dda425763a02:Node 43e0103f-bf80-4688-8c17-dda425763a02 :: true

deleteNodes 1.022s
2021-05-13 23:01:47 |

2021-05-13 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:47 | ------------------------------------

2021-05-13 23:01:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-43e0103f-bf80-4688-8c17-dda425763a02</node></data>

2021-05-13 23:01:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-13 23:01:48 | [Mutex] waiting for: [received:nodes:4c9281db-606f-4c6c-b0d9-81e53cb678e4:localhost]

2021-05-13 23:01:48 | [Mutex] received everything.

2021-05-13 23:01:48 | [Mutex] isItemNotified: received:node:4c9281db-606f-4c6c-b0d9-81e53cb678e4:localhost:node-43e0103f-bf80-4688-8c17-dda425763a02:Node 43e0103f-bf80-4688-8c17-dda425763a02 :: false

deleteSubnodes 1.150s
2021-05-13 23:01:46 |

2021-05-13 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:46 | ------------------------------------

2021-05-13 23:01:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8fbd3df1-0070-4433-b812-4fca2b62fb03</node></data>

2021-05-13 23:01:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-13 23:01:47 | [Mutex] waiting for: [received:nodes:24c69d12-fb5e-472f-9c31-1bcf341498a4:localhost]

2021-05-13 23:01:47 | [Mutex] waiting for: [received:nodes:24c69d12-fb5e-472f-9c31-1bcf341498a4:localhost]

2021-05-13 23:01:47 | [Mutex] received everything.

2021-05-13 23:01:47 | [Mutex] isItemNotified: received:node:24c69d12-fb5e-472f-9c31-1bcf341498a4:localhost:node-8fbd3df1-0070-4433-b812-4fca2b62fb03:Node 8fbd3df1-0070-4433-b812-4fca2b62fb03 :: false

2021-05-13 23:01:47 | [Mutex] waiting for: [received:nodes:8c9eeee5-5770-4ced-ade8-d4a753d6952c:localhost]

2021-05-13 23:01:47 | [Mutex] received everything.

2021-05-13 23:01:47 | [Mutex] isItemNotified: received:node:8c9eeee5-5770-4ced-ade8-d4a753d6952c:localhost:node-8fbd3df1-0070-4433-b812-4fca2b62fb03:Node 8fbd3df1-0070-4433-b812-4fca2b62fb03 :: false

publishItemsToNodes 0.212s
2021-05-13 23:01:44 |

2021-05-13 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:44 | ------------------------------------

2021-05-13 23:01:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8fbd3df1-0070-4433-b812-4fca2b62fb03</node><item-id>item-5af72f9e-c296-47fd-b045-258adb5f5d83</item-id><entry><test>item-5af72f9e-c296-47fd-b045-258adb5f5d83</test></entry></data>

2021-05-13 23:01:44 | 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-5af72f9e-c296-47fd-b045-258adb5f5d83</value></item-id></result>

2021-05-13 23:01:44 | [Mutex] waiting for: [published:item:notifieditem-5af72f9e-c296-47fd-b045-258adb5f5d83:admin@test-domain.com]

2021-05-13 23:01:44 | [Mutex] received everything.

2021-05-13 23:01:44 | [Mutex] isItemNotified: published:item:notifieditem-5af72f9e-c296-47fd-b045-258adb5f5d83:admin@test-domain.com :: true

retractItemsFromNodes 0.276s
2021-05-13 23:01:45 |

2021-05-13 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:45 | ------------------------------------

2021-05-13 23:01:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8fbd3df1-0070-4433-b812-4fca2b62fb03</node><item-id>item-5af72f9e-c296-47fd-b045-258adb5f5d83</item-id></data>

2021-05-13 23:01:45 | 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-5af72f9e-c296-47fd-b045-258adb5f5d83</value></item-id></result>

2021-05-13 23:01:45 | [Mutex] received everything.

2021-05-13 23:01:45 | [Mutex] isItemNotified: retracted:item:notifieditem-5af72f9e-c296-47fd-b045-258adb5f5d83:admin@test-domain.com :: true

retrieveItemsFromNodes 0.325s
2021-05-13 23:01:44 |

2021-05-13 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:44 | ------------------------------------

2021-05-13 23:01:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8fbd3df1-0070-4433-b812-4fca2b62fb03</node><item-id>item-5af72f9e-c296-47fd-b045-258adb5f5d83</item-id></data>

2021-05-13 23:01:45 | 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-8fbd3df1-0070-4433-b812-4fca2b62fb03</value></node><item-id label="Item ID" type="text-single"><value>item-5af72f9e-c296-47fd-b045-258adb5f5d83</value></item-id><item label="Item" type="text-multi"><value><item id="item-5af72f9e-c296-47fd-b045-258adb5f5d83"><test>item-5af72f9e-c296-47fd-b045-258adb5f5d83</test></item></value></item></result>

2021-05-13 23:01:45 | [Mutex] notify: [retrieved:item:item-5af72f9e-c296-47fd-b045-258adb5f5d83:payload-matches:true:localhost]

2021-05-13 23:01:45 | [Mutex] received everything.

2021-05-13 23:01:45 | [Mutex] isItemNotified: retrieved:item:item-5af72f9e-c296-47fd-b045-258adb5f5d83:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-13 23:01:45 |

2021-05-13 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:45 | ------------------------------------

2021-05-13 23:01:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-13 23:01:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-8fbd3df1-0070-4433-b812-4fca2b62fb03</value><value>test</value><value>node-43e0103f-bf80-4688-8c17-dda425763a02</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-05-13 23:01:45 |

2021-05-13 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:45 | ------------------------------------

2021-05-13 23:01:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8fbd3df1-0070-4433-b812-4fca2b62fb03)</node-pattern></data>

2021-05-13 23:01:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.214s
2021-05-13 23:01:43 |

2021-05-13 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:43 | ------------------------------------

2021-05-13 23:01:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8fbd3df1-0070-4433-b812-4fca2b62fb03</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-13 23:01:43 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.291s
2021-05-13 23:01:45 |

2021-05-13 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 23:01:45 | ------------------------------------

2021-05-13 23:01:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8fbd3df1-0070-4433-b812-4fca2b62fb03</node><jids><value>admin@test-domain.com</value></jids></data>

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