Generated by TestNG with ReportNG at 23:24 PDT on Monday 19 October 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.262s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2020-10-19 23:39:45 |

2020-10-19 23:39:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:45 | ------------------------------------

2020-10-19 23:39:45 | [Mutex] waiting for: [configured:node:node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8:node-10b25ca2-8b0a-4670-a3e0-e2a583687acd]

2020-10-19 23:39:45 | [Mutex] received everything.

2020-10-19 23:39:45 | [Mutex] isItemNotified: configured:node:node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8:node-10b25ca2-8b0a-4670-a3e0-e2a583687acd :: true

2020-10-19 23:39:46 | [Mutex] waiting for: [received:nodes:1c55cf55-899d-431f-abcb-4dc03ec6623d:localhost]

2020-10-19 23:39:46 | [Mutex] received everything.

2020-10-19 23:39:46 | [Mutex] isItemNotified: received:node:1c55cf55-899d-431f-abcb-4dc03ec6623d:localhost:node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8:Node 5bba071f-e7c6-4f36-afec-f5cb2ef798f8 :: true

2020-10-19 23:39:46 | [Mutex] waiting for: [received:nodes:f0bac836-51c7-497f-b9f5-f4f681c3f5ef:localhost]

2020-10-19 23:39:46 | [Mutex] waiting for: [received:nodes:f0bac836-51c7-497f-b9f5-f4f681c3f5ef:localhost]

2020-10-19 23:39:46 | [Mutex] received everything.

2020-10-19 23:39:46 | [Mutex] isItemNotified: received:node:f0bac836-51c7-497f-b9f5-f4f681c3f5ef:localhost:node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8:Node 5bba071f-e7c6-4f36-afec-f5cb2ef798f8 :: false

createNodes 1.426s
2020-10-19 23:39:42 |

2020-10-19 23:39:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:42 | ------------------------------------

2020-10-19 23:39:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5bba071f-e7c6-4f36-afec-f5cb2ef798f8</title></pubsub></data>

2020-10-19 23:39:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-19 23:39:44 | [Mutex] waiting for: [received:nodes:fdae70f7-91e9-4ba6-836d-ad144a3c4de5:localhost]

2020-10-19 23:39:44 | [Mutex] received everything.

2020-10-19 23:39:44 | [Mutex] isItemNotified: received:node:fdae70f7-91e9-4ba6-836d-ad144a3c4de5:localhost:node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8:Node 5bba071f-e7c6-4f36-afec-f5cb2ef798f8 :: true

createSubnodes 1.032s
2020-10-19 23:39:44 |

2020-10-19 23:39:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:44 | ------------------------------------

2020-10-19 23:39:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-10b25ca2-8b0a-4670-a3e0-e2a583687acd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 10b25ca2-8b0a-4670-a3e0-e2a583687acd</title></pubsub></data>

2020-10-19 23:39:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-19 23:39:45 | [Mutex] waiting for: [received:nodes:f2697ac9-4085-47e9-afe2-4812baf10d37:localhost]

2020-10-19 23:39:45 | [Mutex] received everything.

2020-10-19 23:39:45 | [Mutex] isItemNotified: received:node:f2697ac9-4085-47e9-afe2-4812baf10d37:localhost:node-10b25ca2-8b0a-4670-a3e0-e2a583687acd:Node 10b25ca2-8b0a-4670-a3e0-e2a583687acd :: true

deleteNodes 1.028s
2020-10-19 23:39:51 |

2020-10-19 23:39:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:51 | ------------------------------------

2020-10-19 23:39:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-10b25ca2-8b0a-4670-a3e0-e2a583687acd</node></data>

2020-10-19 23:39:51 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-19 23:39:52 | [Mutex] waiting for: [received:nodes:2a226880-1e54-4a33-88dc-c9f91b761971:localhost]

2020-10-19 23:39:52 | [Mutex] received everything.

2020-10-19 23:39:52 | [Mutex] isItemNotified: received:node:2a226880-1e54-4a33-88dc-c9f91b761971:localhost:node-10b25ca2-8b0a-4670-a3e0-e2a583687acd:Node 10b25ca2-8b0a-4670-a3e0-e2a583687acd :: false

deleteSubnodes 1.134s
2020-10-19 23:39:50 |

2020-10-19 23:39:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:50 | ------------------------------------

2020-10-19 23:39:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8</node></data>

2020-10-19 23:39:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-19 23:39:51 | [Mutex] waiting for: [received:nodes:7f6d7836-0959-4064-96af-415a222f97e1:localhost]

2020-10-19 23:39:51 | [Mutex] received everything.

2020-10-19 23:39:51 | [Mutex] isItemNotified: received:node:7f6d7836-0959-4064-96af-415a222f97e1:localhost:node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8:Node 5bba071f-e7c6-4f36-afec-f5cb2ef798f8 :: false

2020-10-19 23:39:51 | [Mutex] waiting for: [received:nodes:8e7fab07-b335-47d0-916f-3c498646e57d:localhost]

2020-10-19 23:39:51 | [Mutex] received everything.

2020-10-19 23:39:51 | [Mutex] isItemNotified: received:node:8e7fab07-b335-47d0-916f-3c498646e57d:localhost:node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8:Node 5bba071f-e7c6-4f36-afec-f5cb2ef798f8 :: false

publishItemsToNodes 0.240s
2020-10-19 23:39:47 |

2020-10-19 23:39:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:47 | ------------------------------------

2020-10-19 23:39:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8</node><item-id>item-b62cb58e-c548-4687-ab8d-0471f201bab2</item-id><entry><test>item-b62cb58e-c548-4687-ab8d-0471f201bab2</test></entry></data>

2020-10-19 23:39:47 | 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-b62cb58e-c548-4687-ab8d-0471f201bab2</value></item-id></result>

2020-10-19 23:39:47 | [Mutex] received everything.

2020-10-19 23:39:47 | [Mutex] isItemNotified: published:item:notifieditem-b62cb58e-c548-4687-ab8d-0471f201bab2:admin@test-domain.com :: true

retractItemsFromNodes 0.369s
2020-10-19 23:39:48 |

2020-10-19 23:39:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:48 | ------------------------------------

2020-10-19 23:39:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8</node><item-id>item-b62cb58e-c548-4687-ab8d-0471f201bab2</item-id></data>

2020-10-19 23:39:48 | 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-b62cb58e-c548-4687-ab8d-0471f201bab2</value></item-id></result>

2020-10-19 23:39:48 | [Mutex] waiting for: [retracted:item:notifieditem-b62cb58e-c548-4687-ab8d-0471f201bab2:admin@test-domain.com]

2020-10-19 23:39:48 | [Mutex] received everything.

2020-10-19 23:39:48 | [Mutex] isItemNotified: retracted:item:notifieditem-b62cb58e-c548-4687-ab8d-0471f201bab2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.355s
2020-10-19 23:39:47 |

2020-10-19 23:39:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:47 | ------------------------------------

2020-10-19 23:39:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8</node><item-id>item-b62cb58e-c548-4687-ab8d-0471f201bab2</item-id></data>

2020-10-19 23:39:48 | 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-5bba071f-e7c6-4f36-afec-f5cb2ef798f8</value></node><item-id label="Item ID" type="text-single"><value>item-b62cb58e-c548-4687-ab8d-0471f201bab2</value></item-id><item label="Item" type="text-multi"><value><item id="item-b62cb58e-c548-4687-ab8d-0471f201bab2"><test>item-b62cb58e-c548-4687-ab8d-0471f201bab2</test></item></value></item></result>

2020-10-19 23:39:48 | [Mutex] notify: [retrieved:item:item-b62cb58e-c548-4687-ab8d-0471f201bab2:payload-matches:true:localhost]

2020-10-19 23:39:48 | [Mutex] received everything.

2020-10-19 23:39:48 | [Mutex] isItemNotified: retrieved:item:item-b62cb58e-c548-4687-ab8d-0471f201bab2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-10-19 23:39:48 |

2020-10-19 23:39:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:48 | ------------------------------------

2020-10-19 23:39:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-19 23:39:48 | 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-5bba071f-e7c6-4f36-afec-f5cb2ef798f8</value><value>node-10b25ca2-8b0a-4670-a3e0-e2a583687acd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-19 23:39:48 |

2020-10-19 23:39:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:48 | ------------------------------------

2020-10-19 23:39:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8)</node-pattern></data>

2020-10-19 23:39:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.136s
2020-10-19 23:39:46 |

2020-10-19 23:39:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:46 | ------------------------------------

2020-10-19 23:39:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-19 23:39:46 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.305s
2020-10-19 23:39:48 |

2020-10-19 23:39:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:39:48 | ------------------------------------

2020-10-19 23:39:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5bba071f-e7c6-4f36-afec-f5cb2ef798f8</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-19 23:39:49 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>