Generated by TestNG with ReportNG at 22:23 PDT on Monday 05 October 2020
root@eaa73862192b / 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.043s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2020-10-05 22:38:35 |

2020-10-05 22:38:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:35 | ------------------------------------

2020-10-05 22:38:35 | [Mutex] waiting for: [configured:node:node-d080aca4-ae5a-4632-b2dd-d833445ecbc6:node-680601cb-c34b-4642-a4c3-27995524796e]

2020-10-05 22:38:35 | [Mutex] received everything.

2020-10-05 22:38:35 | [Mutex] isItemNotified: configured:node:node-d080aca4-ae5a-4632-b2dd-d833445ecbc6:node-680601cb-c34b-4642-a4c3-27995524796e :: true

2020-10-05 22:38:36 | [Mutex] waiting for: [received:nodes:aefc9fcf-7071-4adb-aa03-610b96d945e1:localhost]

2020-10-05 22:38:36 | [Mutex] received everything.

2020-10-05 22:38:36 | [Mutex] isItemNotified: received:node:aefc9fcf-7071-4adb-aa03-610b96d945e1:localhost:node-d080aca4-ae5a-4632-b2dd-d833445ecbc6:Node d080aca4-ae5a-4632-b2dd-d833445ecbc6 :: true

2020-10-05 22:38:36 | [Mutex] waiting for: [received:nodes:1b2dd12a-6ba2-4562-8884-d65c6f8beb7a:localhost]

2020-10-05 22:38:36 | [Mutex] received everything.

2020-10-05 22:38:36 | [Mutex] isItemNotified: received:node:1b2dd12a-6ba2-4562-8884-d65c6f8beb7a:localhost:node-d080aca4-ae5a-4632-b2dd-d833445ecbc6:Node d080aca4-ae5a-4632-b2dd-d833445ecbc6 :: false

createNodes 1.513s
2020-10-05 22:38:32 |

2020-10-05 22:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:32 | ------------------------------------

2020-10-05 22:38:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d080aca4-ae5a-4632-b2dd-d833445ecbc6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d080aca4-ae5a-4632-b2dd-d833445ecbc6</title></pubsub></data>

2020-10-05 22:38:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-05 22:38:34 | [Mutex] waiting for: [received:nodes:1d0a4fb9-87f0-493a-84dd-9a740957b9d4:localhost]

2020-10-05 22:38:34 | [Mutex] received everything.

2020-10-05 22:38:34 | [Mutex] isItemNotified: received:node:1d0a4fb9-87f0-493a-84dd-9a740957b9d4:localhost:node-d080aca4-ae5a-4632-b2dd-d833445ecbc6:Node d080aca4-ae5a-4632-b2dd-d833445ecbc6 :: true

createSubnodes 1.022s
2020-10-05 22:38:34 |

2020-10-05 22:38:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:34 | ------------------------------------

2020-10-05 22:38:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-680601cb-c34b-4642-a4c3-27995524796e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 680601cb-c34b-4642-a4c3-27995524796e</title></pubsub></data>

2020-10-05 22:38:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-05 22:38:35 | [Mutex] waiting for: [received:nodes:69c06677-3dde-4e13-9785-7843a77296ba:localhost]

2020-10-05 22:38:35 | [Mutex] received everything.

2020-10-05 22:38:35 | [Mutex] isItemNotified: received:node:69c06677-3dde-4e13-9785-7843a77296ba:localhost:node-680601cb-c34b-4642-a4c3-27995524796e:Node 680601cb-c34b-4642-a4c3-27995524796e :: true

deleteNodes 1.017s
2020-10-05 22:38:40 |

2020-10-05 22:38:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:40 | ------------------------------------

2020-10-05 22:38:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-680601cb-c34b-4642-a4c3-27995524796e</node></data>

2020-10-05 22:38:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-05 22:38:41 | [Mutex] waiting for: [received:nodes:e642171d-190d-4d12-8462-e0673fa9b30f:localhost]

2020-10-05 22:38:42 | [Mutex] received everything.

2020-10-05 22:38:42 | [Mutex] isItemNotified: received:node:e642171d-190d-4d12-8462-e0673fa9b30f:localhost:node-680601cb-c34b-4642-a4c3-27995524796e:Node 680601cb-c34b-4642-a4c3-27995524796e :: false

deleteSubnodes 1.128s
2020-10-05 22:38:39 |

2020-10-05 22:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:39 | ------------------------------------

2020-10-05 22:38:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d080aca4-ae5a-4632-b2dd-d833445ecbc6</node></data>

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

2020-10-05 22:38:40 | [Mutex] waiting for: [received:nodes:1ae7221e-2109-4089-83a9-4bf0c6886c85:localhost]

2020-10-05 22:38:40 | [Mutex] waiting for: [received:nodes:1ae7221e-2109-4089-83a9-4bf0c6886c85:localhost]

2020-10-05 22:38:40 | [Mutex] received everything.

2020-10-05 22:38:40 | [Mutex] isItemNotified: received:node:1ae7221e-2109-4089-83a9-4bf0c6886c85:localhost:node-d080aca4-ae5a-4632-b2dd-d833445ecbc6:Node d080aca4-ae5a-4632-b2dd-d833445ecbc6 :: false

2020-10-05 22:38:40 | [Mutex] waiting for: [received:nodes:cb782e24-5939-4137-8dab-5596e4db2fb4:localhost]

2020-10-05 22:38:40 | [Mutex] received everything.

2020-10-05 22:38:40 | [Mutex] isItemNotified: received:node:cb782e24-5939-4137-8dab-5596e4db2fb4:localhost:node-d080aca4-ae5a-4632-b2dd-d833445ecbc6:Node d080aca4-ae5a-4632-b2dd-d833445ecbc6 :: false

publishItemsToNodes 0.207s
2020-10-05 22:38:37 |

2020-10-05 22:38:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:37 | ------------------------------------

2020-10-05 22:38:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d080aca4-ae5a-4632-b2dd-d833445ecbc6</node><item-id>item-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5</item-id><entry><test>item-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5</test></entry></data>

2020-10-05 22:38:37 | 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-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5</value></item-id></result>

2020-10-05 22:38:37 | [Mutex] waiting for: [published:item:notifieditem-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5:admin@test-domain.com]

2020-10-05 22:38:37 | [Mutex] received everything.

2020-10-05 22:38:37 | [Mutex] isItemNotified: published:item:notifieditem-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5:admin@test-domain.com :: true

retractItemsFromNodes 0.280s
2020-10-05 22:38:38 |

2020-10-05 22:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:38 | ------------------------------------

2020-10-05 22:38:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d080aca4-ae5a-4632-b2dd-d833445ecbc6</node><item-id>item-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5</item-id></data>

2020-10-05 22:38:38 | 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-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5</value></item-id></result>

2020-10-05 22:38:38 | [Mutex] received everything.

2020-10-05 22:38:38 | [Mutex] isItemNotified: retracted:item:notifieditem-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.295s
2020-10-05 22:38:37 |

2020-10-05 22:38:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:37 | ------------------------------------

2020-10-05 22:38:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d080aca4-ae5a-4632-b2dd-d833445ecbc6</node><item-id>item-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5</item-id></data>

2020-10-05 22:38:38 | 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-d080aca4-ae5a-4632-b2dd-d833445ecbc6</value></node><item-id label="Item ID" type="text-single"><value>item-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5</value></item-id><item label="Item" type="text-multi"><value><item id="item-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5"><test>item-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5</test></item></value></item></result>

2020-10-05 22:38:38 | [Mutex] notify: [retrieved:item:item-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5:payload-matches:true:localhost]

2020-10-05 22:38:38 | [Mutex] received everything.

2020-10-05 22:38:38 | [Mutex] isItemNotified: retrieved:item:item-0b8d6a84-2863-4d7b-adea-9b47ab11c4f5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-10-05 22:38:38 |

2020-10-05 22:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:38 | ------------------------------------

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

2020-10-05 22:38:38 | 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-680601cb-c34b-4642-a4c3-27995524796e</value><value>node-d080aca4-ae5a-4632-b2dd-d833445ecbc6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-10-05 22:38:38 |

2020-10-05 22:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:38 | ------------------------------------

2020-10-05 22:38:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d080aca4-ae5a-4632-b2dd-d833445ecbc6)</node-pattern></data>

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

subscribeNodes 1.140s
2020-10-05 22:38:36 |

2020-10-05 22:38:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:36 | ------------------------------------

2020-10-05 22:38:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d080aca4-ae5a-4632-b2dd-d833445ecbc6</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-05 22:38:36 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.316s
2020-10-05 22:38:38 |

2020-10-05 22:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-05 22:38:38 | ------------------------------------

2020-10-05 22:38:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d080aca4-ae5a-4632-b2dd-d833445ecbc6</node><jids><value>admin@test-domain.com</value></jids></data>

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