Generated by TestNG with ReportNG at 22:43 PDT on Wednesday 26 August 2020
root@95486eacaf22 / 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 : 9.879s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.134s
2020-08-26 22:58:47 |

2020-08-26 22:58:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:47 | ------------------------------------

2020-08-26 22:58:47 | [Mutex] waiting for: [configured:node:node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a:node-05e66464-bbe6-44b1-b4dd-a74f97e37c50]

2020-08-26 22:58:48 | [Mutex] received everything.

2020-08-26 22:58:48 | [Mutex] isItemNotified: configured:node:node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a:node-05e66464-bbe6-44b1-b4dd-a74f97e37c50 :: true

2020-08-26 22:58:49 | [Mutex] waiting for: [received:nodes:9fc9c9f9-3415-4af1-be65-713e2fb68766:localhost]

2020-08-26 22:58:49 | [Mutex] received everything.

2020-08-26 22:58:49 | [Mutex] isItemNotified: received:node:9fc9c9f9-3415-4af1-be65-713e2fb68766:localhost:node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a:Node e10a2ebe-a432-4e8f-8601-9f7599c31a2a :: true

2020-08-26 22:58:49 | [Mutex] waiting for: [received:nodes:d95802d6-ff34-48c2-b6ae-b4cca2005603:localhost]

2020-08-26 22:58:49 | [Mutex] waiting for: [received:nodes:d95802d6-ff34-48c2-b6ae-b4cca2005603:localhost]

2020-08-26 22:58:49 | [Mutex] received everything.

2020-08-26 22:58:49 | [Mutex] isItemNotified: received:node:d95802d6-ff34-48c2-b6ae-b4cca2005603:localhost:node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a:Node e10a2ebe-a432-4e8f-8601-9f7599c31a2a :: false

createNodes 1.445s
2020-08-26 22:58:45 |

2020-08-26 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:45 | ------------------------------------

2020-08-26 22:58:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e10a2ebe-a432-4e8f-8601-9f7599c31a2a</title></pubsub></data>

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

2020-08-26 22:58:46 | [Mutex] waiting for: [received:nodes:9ea89b93-9d46-4f79-8d1f-980df754552c:localhost]

2020-08-26 22:58:46 | [Mutex] received everything.

2020-08-26 22:58:46 | [Mutex] isItemNotified: received:node:9ea89b93-9d46-4f79-8d1f-980df754552c:localhost:node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a:Node e10a2ebe-a432-4e8f-8601-9f7599c31a2a :: true

createSubnodes 1.029s
2020-08-26 22:58:46 |

2020-08-26 22:58:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:46 | ------------------------------------

2020-08-26 22:58:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05e66464-bbe6-44b1-b4dd-a74f97e37c50</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 05e66464-bbe6-44b1-b4dd-a74f97e37c50</title></pubsub></data>

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

2020-08-26 22:58:47 | [Mutex] waiting for: [received:nodes:032717fb-43aa-4ad8-b3c3-0a53a553f950:localhost]

2020-08-26 22:58:47 | [Mutex] waiting for: [received:nodes:032717fb-43aa-4ad8-b3c3-0a53a553f950:localhost]

2020-08-26 22:58:47 | [Mutex] received everything.

2020-08-26 22:58:47 | [Mutex] isItemNotified: received:node:032717fb-43aa-4ad8-b3c3-0a53a553f950:localhost:node-05e66464-bbe6-44b1-b4dd-a74f97e37c50:Node 05e66464-bbe6-44b1-b4dd-a74f97e37c50 :: true

deleteNodes 1.020s
2020-08-26 22:58:53 |

2020-08-26 22:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:53 | ------------------------------------

2020-08-26 22:58:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05e66464-bbe6-44b1-b4dd-a74f97e37c50</node></data>

2020-08-26 22:58:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-26 22:58:54 | [Mutex] waiting for: [received:nodes:edc26757-fcdf-4e7a-accd-c3a864d39bd2:localhost]

2020-08-26 22:58:54 | [Mutex] waiting for: [received:nodes:edc26757-fcdf-4e7a-accd-c3a864d39bd2:localhost]

2020-08-26 22:58:54 | [Mutex] received everything.

2020-08-26 22:58:54 | [Mutex] isItemNotified: received:node:edc26757-fcdf-4e7a-accd-c3a864d39bd2:localhost:node-05e66464-bbe6-44b1-b4dd-a74f97e37c50:Node 05e66464-bbe6-44b1-b4dd-a74f97e37c50 :: false

deleteSubnodes 1.107s
2020-08-26 22:58:52 |

2020-08-26 22:58:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:52 | ------------------------------------

2020-08-26 22:58:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a</node></data>

2020-08-26 22:58:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-26 22:58:53 | [Mutex] waiting for: [received:nodes:1d5226d6-355e-4452-b32a-fe3c88bea334:localhost]

2020-08-26 22:58:53 | [Mutex] received everything.

2020-08-26 22:58:53 | [Mutex] isItemNotified: received:node:1d5226d6-355e-4452-b32a-fe3c88bea334:localhost:node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a:Node e10a2ebe-a432-4e8f-8601-9f7599c31a2a :: false

2020-08-26 22:58:53 | [Mutex] waiting for: [received:nodes:05df6ac5-6684-40d1-ba8f-875dcd0bbb51:localhost]

2020-08-26 22:58:53 | [Mutex] received everything.

2020-08-26 22:58:53 | [Mutex] isItemNotified: received:node:05df6ac5-6684-40d1-ba8f-875dcd0bbb51:localhost:node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a:Node e10a2ebe-a432-4e8f-8601-9f7599c31a2a :: false

publishItemsToNodes 0.217s
2020-08-26 22:58:50 |

2020-08-26 22:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:50 | ------------------------------------

2020-08-26 22:58:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a</node><item-id>item-4089c30a-e8f8-419e-a6cb-022bc05956ff</item-id><entry><test>item-4089c30a-e8f8-419e-a6cb-022bc05956ff</test></entry></data>

2020-08-26 22:58:50 | 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-4089c30a-e8f8-419e-a6cb-022bc05956ff</value></item-id></result>

2020-08-26 22:58:50 | [Mutex] received everything.

2020-08-26 22:58:50 | [Mutex] isItemNotified: published:item:notifieditem-4089c30a-e8f8-419e-a6cb-022bc05956ff:admin@test-domain.com :: true

retractItemsFromNodes 0.192s
2020-08-26 22:58:50 |

2020-08-26 22:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:50 | ------------------------------------

2020-08-26 22:58:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a</node><item-id>item-4089c30a-e8f8-419e-a6cb-022bc05956ff</item-id></data>

2020-08-26 22:58:50 | 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-4089c30a-e8f8-419e-a6cb-022bc05956ff</value></item-id></result>

2020-08-26 22:58:50 | [Mutex] received everything.

2020-08-26 22:58:50 | [Mutex] isItemNotified: retracted:item:notifieditem-4089c30a-e8f8-419e-a6cb-022bc05956ff:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2020-08-26 22:58:50 |

2020-08-26 22:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:50 | ------------------------------------

2020-08-26 22:58:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a</node><item-id>item-4089c30a-e8f8-419e-a6cb-022bc05956ff</item-id></data>

2020-08-26 22:58:50 | 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-e10a2ebe-a432-4e8f-8601-9f7599c31a2a</value></node><item-id label="Item ID" type="text-single"><value>item-4089c30a-e8f8-419e-a6cb-022bc05956ff</value></item-id><item label="Item" type="text-multi"><value><item id="item-4089c30a-e8f8-419e-a6cb-022bc05956ff"><test>item-4089c30a-e8f8-419e-a6cb-022bc05956ff</test></item></value></item></result>

2020-08-26 22:58:50 | [Mutex] notify: [retrieved:item:item-4089c30a-e8f8-419e-a6cb-022bc05956ff:payload-matches:true:localhost]

2020-08-26 22:58:50 | [Mutex] received everything.

2020-08-26 22:58:50 | [Mutex] isItemNotified: retrieved:item:item-4089c30a-e8f8-419e-a6cb-022bc05956ff:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-08-26 22:58:50 |

2020-08-26 22:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:50 | ------------------------------------

2020-08-26 22:58:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-26 22:58:50 | 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-e10a2ebe-a432-4e8f-8601-9f7599c31a2a</value><value>node-05e66464-bbe6-44b1-b4dd-a74f97e37c50</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2020-08-26 22:58:50 |

2020-08-26 22:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:50 | ------------------------------------

2020-08-26 22:58:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a)</node-pattern></data>

2020-08-26 22:58:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.095s
2020-08-26 22:58:49 |

2020-08-26 22:58:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:49 | ------------------------------------

2020-08-26 22:58:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-26 22:58:49 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.331s
2020-08-26 22:58:50 |

2020-08-26 22:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:58:50 | ------------------------------------

2020-08-26 22:58:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e10a2ebe-a432-4e8f-8601-9f7599c31a2a</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-26 22:58:51 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>