Generated by TestNG with ReportNG at 21:13 PST on Monday 28 December 2020
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.240s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2020-12-28 21:28:27 |

2020-12-28 21:28:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:27 | ------------------------------------

2020-12-28 21:28:27 | [Mutex] waiting for: [configured:node:node-48053770-29fb-41ea-a17b-b2683520b417:node-9cc83d3b-045e-4569-abc5-a7bd3acdd46a]

2020-12-28 21:28:27 | [Mutex] received everything.

2020-12-28 21:28:27 | [Mutex] isItemNotified: configured:node:node-48053770-29fb-41ea-a17b-b2683520b417:node-9cc83d3b-045e-4569-abc5-a7bd3acdd46a :: true

2020-12-28 21:28:28 | [Mutex] waiting for: [received:nodes:976b922d-ace6-450e-8ed6-d0d463dfa1f6:localhost]

2020-12-28 21:28:28 | [Mutex] received everything.

2020-12-28 21:28:28 | [Mutex] isItemNotified: received:node:976b922d-ace6-450e-8ed6-d0d463dfa1f6:localhost:node-48053770-29fb-41ea-a17b-b2683520b417:Node 48053770-29fb-41ea-a17b-b2683520b417 :: true

2020-12-28 21:28:28 | [Mutex] waiting for: [received:nodes:97da0a66-11c0-4863-a534-e39cf50456e3:localhost]

2020-12-28 21:28:28 | [Mutex] received everything.

2020-12-28 21:28:28 | [Mutex] isItemNotified: received:node:97da0a66-11c0-4863-a534-e39cf50456e3:localhost:node-48053770-29fb-41ea-a17b-b2683520b417:Node 48053770-29fb-41ea-a17b-b2683520b417 :: false

createNodes 1.584s
2020-12-28 21:28:24 |

2020-12-28 21:28:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:24 | ------------------------------------

2020-12-28 21:28:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-48053770-29fb-41ea-a17b-b2683520b417</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 48053770-29fb-41ea-a17b-b2683520b417</title></pubsub></data>

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

2020-12-28 21:28:26 | [Mutex] waiting for: [received:nodes:c55a4392-57b9-4f64-827f-a00796067f0a:localhost]

2020-12-28 21:28:26 | [Mutex] received everything.

2020-12-28 21:28:26 | [Mutex] isItemNotified: received:node:c55a4392-57b9-4f64-827f-a00796067f0a:localhost:node-48053770-29fb-41ea-a17b-b2683520b417:Node 48053770-29fb-41ea-a17b-b2683520b417 :: true

createSubnodes 1.040s
2020-12-28 21:28:26 |

2020-12-28 21:28:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:26 | ------------------------------------

2020-12-28 21:28:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9cc83d3b-045e-4569-abc5-a7bd3acdd46a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9cc83d3b-045e-4569-abc5-a7bd3acdd46a</title></pubsub></data>

2020-12-28 21:28:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-28 21:28:27 | [Mutex] waiting for: [received:nodes:544b7d49-fc52-481a-8e8f-89fed228c3e2:localhost]

2020-12-28 21:28:27 | [Mutex] received everything.

2020-12-28 21:28:27 | [Mutex] isItemNotified: received:node:544b7d49-fc52-481a-8e8f-89fed228c3e2:localhost:node-9cc83d3b-045e-4569-abc5-a7bd3acdd46a:Node 9cc83d3b-045e-4569-abc5-a7bd3acdd46a :: true

deleteNodes 1.039s
2020-12-28 21:28:33 |

2020-12-28 21:28:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:33 | ------------------------------------

2020-12-28 21:28:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9cc83d3b-045e-4569-abc5-a7bd3acdd46a</node></data>

2020-12-28 21:28:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-28 21:28:34 | [Mutex] waiting for: [received:nodes:73d41c27-cc86-4693-8d00-931ed8ea1e42:localhost]

2020-12-28 21:28:34 | [Mutex] received everything.

2020-12-28 21:28:34 | [Mutex] isItemNotified: received:node:73d41c27-cc86-4693-8d00-931ed8ea1e42:localhost:node-9cc83d3b-045e-4569-abc5-a7bd3acdd46a:Node 9cc83d3b-045e-4569-abc5-a7bd3acdd46a :: false

deleteSubnodes 1.149s
2020-12-28 21:28:32 |

2020-12-28 21:28:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:32 | ------------------------------------

2020-12-28 21:28:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-48053770-29fb-41ea-a17b-b2683520b417</node></data>

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

2020-12-28 21:28:33 | [Mutex] waiting for: [received:nodes:54f500ec-cc84-4c21-b000-4d6ec6837ff9:localhost]

2020-12-28 21:28:33 | [Mutex] waiting for: [received:nodes:54f500ec-cc84-4c21-b000-4d6ec6837ff9:localhost]

2020-12-28 21:28:33 | [Mutex] waiting for: [received:nodes:54f500ec-cc84-4c21-b000-4d6ec6837ff9:localhost]

2020-12-28 21:28:33 | [Mutex] waiting for: [received:nodes:54f500ec-cc84-4c21-b000-4d6ec6837ff9:localhost]

2020-12-28 21:28:33 | [Mutex] received everything.

2020-12-28 21:28:33 | [Mutex] isItemNotified: received:node:54f500ec-cc84-4c21-b000-4d6ec6837ff9:localhost:node-48053770-29fb-41ea-a17b-b2683520b417:Node 48053770-29fb-41ea-a17b-b2683520b417 :: false

2020-12-28 21:28:33 | [Mutex] waiting for: [received:nodes:5f679883-ced7-4baa-9c1c-2f4635d99fe0:localhost]

2020-12-28 21:28:33 | [Mutex] received everything.

2020-12-28 21:28:33 | [Mutex] isItemNotified: received:node:5f679883-ced7-4baa-9c1c-2f4635d99fe0:localhost:node-48053770-29fb-41ea-a17b-b2683520b417:Node 48053770-29fb-41ea-a17b-b2683520b417 :: false

publishItemsToNodes 0.248s
2020-12-28 21:28:29 |

2020-12-28 21:28:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:29 | ------------------------------------

2020-12-28 21:28:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-48053770-29fb-41ea-a17b-b2683520b417</node><item-id>item-20190da1-d915-483e-b214-c0ac5ac8132b</item-id><entry><test>item-20190da1-d915-483e-b214-c0ac5ac8132b</test></entry></data>

2020-12-28 21:28:30 | 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-20190da1-d915-483e-b214-c0ac5ac8132b</value></item-id></result>

2020-12-28 21:28:30 | [Mutex] received everything.

2020-12-28 21:28:30 | [Mutex] isItemNotified: published:item:notifieditem-20190da1-d915-483e-b214-c0ac5ac8132b:admin@test-domain.com :: true

retractItemsFromNodes 0.177s
2020-12-28 21:28:30 |

2020-12-28 21:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:30 | ------------------------------------

2020-12-28 21:28:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-48053770-29fb-41ea-a17b-b2683520b417</node><item-id>item-20190da1-d915-483e-b214-c0ac5ac8132b</item-id></data>

2020-12-28 21:28:30 | 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-20190da1-d915-483e-b214-c0ac5ac8132b</value></item-id></result>

2020-12-28 21:28:30 | [Mutex] received everything.

2020-12-28 21:28:30 | [Mutex] isItemNotified: retracted:item:notifieditem-20190da1-d915-483e-b214-c0ac5ac8132b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.292s
2020-12-28 21:28:30 |

2020-12-28 21:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:30 | ------------------------------------

2020-12-28 21:28:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-48053770-29fb-41ea-a17b-b2683520b417</node><item-id>item-20190da1-d915-483e-b214-c0ac5ac8132b</item-id></data>

2020-12-28 21:28:30 | 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-48053770-29fb-41ea-a17b-b2683520b417</value></node><item-id label="Item ID" type="text-single"><value>item-20190da1-d915-483e-b214-c0ac5ac8132b</value></item-id><item label="Item" type="text-multi"><value><item id="item-20190da1-d915-483e-b214-c0ac5ac8132b"><test>item-20190da1-d915-483e-b214-c0ac5ac8132b</test></item></value></item></result>

2020-12-28 21:28:30 | [Mutex] notify: [retrieved:item:item-20190da1-d915-483e-b214-c0ac5ac8132b:payload-matches:true:localhost]

2020-12-28 21:28:30 | [Mutex] received everything.

2020-12-28 21:28:30 | [Mutex] isItemNotified: retrieved:item:item-20190da1-d915-483e-b214-c0ac5ac8132b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-12-28 21:28:30 |

2020-12-28 21:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:30 | ------------------------------------

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

2020-12-28 21:28:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-48053770-29fb-41ea-a17b-b2683520b417</value><value>node-9cc83d3b-045e-4569-abc5-a7bd3acdd46a</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-12-28 21:28:30 |

2020-12-28 21:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:30 | ------------------------------------

2020-12-28 21:28:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-48053770-29fb-41ea-a17b-b2683520b417)</node-pattern></data>

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

subscribeNodes 1.132s
2020-12-28 21:28:28 |

2020-12-28 21:28:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:28 | ------------------------------------

2020-12-28 21:28:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-48053770-29fb-41ea-a17b-b2683520b417</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-28 21:28:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.329s
2020-12-28 21:28:30 |

2020-12-28 21:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-28 21:28:30 | ------------------------------------

2020-12-28 21:28:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-48053770-29fb-41ea-a17b-b2683520b417</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-28 21:28:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>