Generated by TestNG with ReportNG at 22:14 PDT on Monday 05 April 2021
root@43fec6d4badf / 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.656s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.125s
2021-04-05 22:29:43 |

2021-04-05 22:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:43 | ------------------------------------

2021-04-05 22:29:43 | [Mutex] waiting for: [configured:node:node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3:node-727cf777-109f-44fd-b003-3b1006cea6eb]

2021-04-05 22:29:43 | [Mutex] received everything.

2021-04-05 22:29:43 | [Mutex] isItemNotified: configured:node:node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3:node-727cf777-109f-44fd-b003-3b1006cea6eb :: true

2021-04-05 22:29:44 | [Mutex] waiting for: [received:nodes:e2b11c15-648f-4b1a-97b5-19fabbad39aa:localhost]

2021-04-05 22:29:44 | [Mutex] waiting for: [received:nodes:e2b11c15-648f-4b1a-97b5-19fabbad39aa:localhost]

2021-04-05 22:29:44 | [Mutex] received everything.

2021-04-05 22:29:44 | [Mutex] isItemNotified: received:node:e2b11c15-648f-4b1a-97b5-19fabbad39aa:localhost:node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3:Node f2ae7943-51b4-4705-bfa0-2745d8fb4de3 :: true

2021-04-05 22:29:44 | [Mutex] waiting for: [received:nodes:be5300da-1b31-45b4-87f1-60170a9da54d:localhost]

2021-04-05 22:29:44 | [Mutex] received everything.

2021-04-05 22:29:44 | [Mutex] isItemNotified: received:node:be5300da-1b31-45b4-87f1-60170a9da54d:localhost:node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3:Node f2ae7943-51b4-4705-bfa0-2745d8fb4de3 :: false

createNodes 1.396s
2021-04-05 22:29:41 |

2021-04-05 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:41 | ------------------------------------

2021-04-05 22:29:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f2ae7943-51b4-4705-bfa0-2745d8fb4de3</title></pubsub></data>

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

2021-04-05 22:29:42 | [Mutex] waiting for: [received:nodes:018240bd-a531-4623-9eed-cc34937fea99:localhost]

2021-04-05 22:29:42 | [Mutex] received everything.

2021-04-05 22:29:42 | [Mutex] isItemNotified: received:node:018240bd-a531-4623-9eed-cc34937fea99:localhost:node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3:Node f2ae7943-51b4-4705-bfa0-2745d8fb4de3 :: true

createSubnodes 1.023s
2021-04-05 22:29:42 |

2021-04-05 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:42 | ------------------------------------

2021-04-05 22:29:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-727cf777-109f-44fd-b003-3b1006cea6eb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 727cf777-109f-44fd-b003-3b1006cea6eb</title></pubsub></data>

2021-04-05 22:29:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-05 22:29:43 | [Mutex] waiting for: [received:nodes:e0b14f83-0c3b-4b15-90d3-a5f3dbfe34d2:localhost]

2021-04-05 22:29:43 | [Mutex] received everything.

2021-04-05 22:29:43 | [Mutex] isItemNotified: received:node:e0b14f83-0c3b-4b15-90d3-a5f3dbfe34d2:localhost:node-727cf777-109f-44fd-b003-3b1006cea6eb:Node 727cf777-109f-44fd-b003-3b1006cea6eb :: true

deleteNodes 1.018s
2021-04-05 22:29:48 |

2021-04-05 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:48 | ------------------------------------

2021-04-05 22:29:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-727cf777-109f-44fd-b003-3b1006cea6eb</node></data>

2021-04-05 22:29:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-05 22:29:49 | [Mutex] waiting for: [received:nodes:dde023ac-5fd3-493b-8b20-0801e37f5f3d:localhost]

2021-04-05 22:29:49 | [Mutex] received everything.

2021-04-05 22:29:49 | [Mutex] isItemNotified: received:node:dde023ac-5fd3-493b-8b20-0801e37f5f3d:localhost:node-727cf777-109f-44fd-b003-3b1006cea6eb:Node 727cf777-109f-44fd-b003-3b1006cea6eb :: false

deleteSubnodes 1.137s
2021-04-05 22:29:47 |

2021-04-05 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:47 | ------------------------------------

2021-04-05 22:29:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3</node></data>

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

2021-04-05 22:29:48 | [Mutex] waiting for: [received:nodes:17d3b3d0-1a5b-43ed-be4f-e19d81e806a6:localhost]

2021-04-05 22:29:48 | [Mutex] received everything.

2021-04-05 22:29:48 | [Mutex] isItemNotified: received:node:17d3b3d0-1a5b-43ed-be4f-e19d81e806a6:localhost:node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3:Node f2ae7943-51b4-4705-bfa0-2745d8fb4de3 :: false

2021-04-05 22:29:48 | [Mutex] waiting for: [received:nodes:c141c3b8-0cc2-4503-ad02-178d1dcdab5f:localhost]

2021-04-05 22:29:48 | [Mutex] received everything.

2021-04-05 22:29:48 | [Mutex] isItemNotified: received:node:c141c3b8-0cc2-4503-ad02-178d1dcdab5f:localhost:node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3:Node f2ae7943-51b4-4705-bfa0-2745d8fb4de3 :: false

publishItemsToNodes 0.196s
2021-04-05 22:29:45 |

2021-04-05 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:45 | ------------------------------------

2021-04-05 22:29:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3</node><item-id>item-33ba0fac-bf15-472d-800b-c15a71399c24</item-id><entry><test>item-33ba0fac-bf15-472d-800b-c15a71399c24</test></entry></data>

2021-04-05 22:29:45 | 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-33ba0fac-bf15-472d-800b-c15a71399c24</value></item-id></result>

2021-04-05 22:29:45 | [Mutex] received everything.

2021-04-05 22:29:45 | [Mutex] isItemNotified: published:item:notifieditem-33ba0fac-bf15-472d-800b-c15a71399c24:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2021-04-05 22:29:46 |

2021-04-05 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:46 | ------------------------------------

2021-04-05 22:29:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3</node><item-id>item-33ba0fac-bf15-472d-800b-c15a71399c24</item-id></data>

2021-04-05 22:29:46 | 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-33ba0fac-bf15-472d-800b-c15a71399c24</value></item-id></result>

2021-04-05 22:29:46 | [Mutex] received everything.

2021-04-05 22:29:46 | [Mutex] isItemNotified: retracted:item:notifieditem-33ba0fac-bf15-472d-800b-c15a71399c24:admin@test-domain.com :: true

retrieveItemsFromNodes 0.241s
2021-04-05 22:29:45 |

2021-04-05 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:45 | ------------------------------------

2021-04-05 22:29:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3</node><item-id>item-33ba0fac-bf15-472d-800b-c15a71399c24</item-id></data>

2021-04-05 22:29:46 | 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-f2ae7943-51b4-4705-bfa0-2745d8fb4de3</value></node><item-id label="Item ID" type="text-single"><value>item-33ba0fac-bf15-472d-800b-c15a71399c24</value></item-id><item label="Item" type="text-multi"><value><item id="item-33ba0fac-bf15-472d-800b-c15a71399c24"><test>item-33ba0fac-bf15-472d-800b-c15a71399c24</test></item></value></item></result>

2021-04-05 22:29:46 | [Mutex] notify: [retrieved:item:item-33ba0fac-bf15-472d-800b-c15a71399c24:payload-matches:true:localhost]

2021-04-05 22:29:46 | [Mutex] received everything.

2021-04-05 22:29:46 | [Mutex] isItemNotified: retrieved:item:item-33ba0fac-bf15-472d-800b-c15a71399c24:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-05 22:29:46 |

2021-04-05 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:46 | ------------------------------------

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

2021-04-05 22:29:46 | 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-f2ae7943-51b4-4705-bfa0-2745d8fb4de3</value><value>node-727cf777-109f-44fd-b003-3b1006cea6eb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-05 22:29:46 |

2021-04-05 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:46 | ------------------------------------

2021-04-05 22:29:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3)</node-pattern></data>

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

subscribeNodes 1.096s
2021-04-05 22:29:44 |

2021-04-05 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:44 | ------------------------------------

2021-04-05 22:29:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-05 22:29:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.264s
2021-04-05 22:29:46 |

2021-04-05 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-05 22:29:46 | ------------------------------------

2021-04-05 22:29:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f2ae7943-51b4-4705-bfa0-2745d8fb4de3</node><jids><value>admin@test-domain.com</value></jids></data>

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