Generated by TestNG with ReportNG at 21:42 PST on Thursday 03 February 2022
root@b2c2a8eba6e6 / 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.112s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.141s
2022-02-03 21:57:47 |

2022-02-03 21:57:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:47 | ------------------------------------

2022-02-03 21:57:47 | [Mutex] waiting for: [configured:node:node-87cb34f0-d7b4-491d-8863-b10599fe221f:node-ff7952e0-d3ba-4583-bb2b-1ff2bdd556e6]

2022-02-03 21:57:47 | [Mutex] received everything.

2022-02-03 21:57:47 | [Mutex] isItemNotified: configured:node:node-87cb34f0-d7b4-491d-8863-b10599fe221f:node-ff7952e0-d3ba-4583-bb2b-1ff2bdd556e6 :: true

2022-02-03 21:57:48 | [Mutex] waiting for: [received:nodes:bf2c310b-879c-4900-a16b-fd96afaeef42:localhost]

2022-02-03 21:57:48 | [Mutex] received everything.

2022-02-03 21:57:48 | [Mutex] isItemNotified: received:node:bf2c310b-879c-4900-a16b-fd96afaeef42:localhost:node-87cb34f0-d7b4-491d-8863-b10599fe221f:Node 87cb34f0-d7b4-491d-8863-b10599fe221f :: true

2022-02-03 21:57:48 | [Mutex] waiting for: [received:nodes:4880ad08-7b4b-4094-a27d-c0ccbe192341:localhost]

2022-02-03 21:57:48 | [Mutex] received everything.

2022-02-03 21:57:48 | [Mutex] isItemNotified: received:node:4880ad08-7b4b-4094-a27d-c0ccbe192341:localhost:node-87cb34f0-d7b4-491d-8863-b10599fe221f:Node 87cb34f0-d7b4-491d-8863-b10599fe221f :: false

createNodes 1.484s
2022-02-03 21:57:44 |

2022-02-03 21:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:44 | ------------------------------------

2022-02-03 21:57:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-87cb34f0-d7b4-491d-8863-b10599fe221f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 87cb34f0-d7b4-491d-8863-b10599fe221f</title></pubsub></data>

2022-02-03 21:57:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-03 21:57:46 | [Mutex] waiting for: [received:nodes:0b15714a-ea7b-4de3-950c-e0cf65e49a97:localhost]

2022-02-03 21:57:46 | [Mutex] received everything.

2022-02-03 21:57:46 | [Mutex] isItemNotified: received:node:0b15714a-ea7b-4de3-950c-e0cf65e49a97:localhost:node-87cb34f0-d7b4-491d-8863-b10599fe221f:Node 87cb34f0-d7b4-491d-8863-b10599fe221f :: true

createSubnodes 1.033s
2022-02-03 21:57:46 |

2022-02-03 21:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:46 | ------------------------------------

2022-02-03 21:57:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ff7952e0-d3ba-4583-bb2b-1ff2bdd556e6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ff7952e0-d3ba-4583-bb2b-1ff2bdd556e6</title></pubsub></data>

2022-02-03 21:57:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-03 21:57:47 | [Mutex] waiting for: [received:nodes:72253747-41c7-44d0-aa96-6441ab3e9bb0:localhost]

2022-02-03 21:57:47 | [Mutex] received everything.

2022-02-03 21:57:47 | [Mutex] isItemNotified: received:node:72253747-41c7-44d0-aa96-6441ab3e9bb0:localhost:node-ff7952e0-d3ba-4583-bb2b-1ff2bdd556e6:Node ff7952e0-d3ba-4583-bb2b-1ff2bdd556e6 :: true

deleteNodes 1.021s
2022-02-03 21:57:53 |

2022-02-03 21:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:53 | ------------------------------------

2022-02-03 21:57:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ff7952e0-d3ba-4583-bb2b-1ff2bdd556e6</node></data>

2022-02-03 21:57:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-03 21:57:54 | [Mutex] waiting for: [received:nodes:8428df33-bf92-4a78-af01-54a0ebf90294:localhost]

2022-02-03 21:57:54 | [Mutex] received everything.

2022-02-03 21:57:54 | [Mutex] isItemNotified: received:node:8428df33-bf92-4a78-af01-54a0ebf90294:localhost:node-ff7952e0-d3ba-4583-bb2b-1ff2bdd556e6:Node ff7952e0-d3ba-4583-bb2b-1ff2bdd556e6 :: false

deleteSubnodes 1.136s
2022-02-03 21:57:52 |

2022-02-03 21:57:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:52 | ------------------------------------

2022-02-03 21:57:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-87cb34f0-d7b4-491d-8863-b10599fe221f</node></data>

2022-02-03 21:57:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-03 21:57:53 | [Mutex] waiting for: [received:nodes:5ed12547-2d13-44d4-b150-bdd64c72442b:localhost]

2022-02-03 21:57:53 | [Mutex] received everything.

2022-02-03 21:57:53 | [Mutex] isItemNotified: received:node:5ed12547-2d13-44d4-b150-bdd64c72442b:localhost:node-87cb34f0-d7b4-491d-8863-b10599fe221f:Node 87cb34f0-d7b4-491d-8863-b10599fe221f :: false

2022-02-03 21:57:53 | [Mutex] waiting for: [received:nodes:cad85cdc-f50d-4bf7-a3e7-965758144ab0:localhost]

2022-02-03 21:57:53 | [Mutex] received everything.

2022-02-03 21:57:53 | [Mutex] isItemNotified: received:node:cad85cdc-f50d-4bf7-a3e7-965758144ab0:localhost:node-87cb34f0-d7b4-491d-8863-b10599fe221f:Node 87cb34f0-d7b4-491d-8863-b10599fe221f :: false

publishItemsToNodes 0.249s
2022-02-03 21:57:49 |

2022-02-03 21:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:49 | ------------------------------------

2022-02-03 21:57:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-87cb34f0-d7b4-491d-8863-b10599fe221f</node><item-id>item-6c5dae12-c517-48ad-a577-4c918716d8f0</item-id><entry><test>item-6c5dae12-c517-48ad-a577-4c918716d8f0</test></entry></data>

2022-02-03 21:57:49 | 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-6c5dae12-c517-48ad-a577-4c918716d8f0</value></item-id></result>

2022-02-03 21:57:49 | [Mutex] received everything.

2022-02-03 21:57:49 | [Mutex] isItemNotified: published:item:notifieditem-6c5dae12-c517-48ad-a577-4c918716d8f0:admin@test-domain.com :: true

retractItemsFromNodes 0.296s
2022-02-03 21:57:50 |

2022-02-03 21:57:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:50 | ------------------------------------

2022-02-03 21:57:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-87cb34f0-d7b4-491d-8863-b10599fe221f</node><item-id>item-6c5dae12-c517-48ad-a577-4c918716d8f0</item-id></data>

2022-02-03 21:57: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-6c5dae12-c517-48ad-a577-4c918716d8f0</value></item-id></result>

2022-02-03 21:57:50 | [Mutex] received everything.

2022-02-03 21:57:50 | [Mutex] isItemNotified: retracted:item:notifieditem-6c5dae12-c517-48ad-a577-4c918716d8f0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.374s
2022-02-03 21:57:49 |

2022-02-03 21:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:49 | ------------------------------------

2022-02-03 21:57:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-87cb34f0-d7b4-491d-8863-b10599fe221f</node><item-id>item-6c5dae12-c517-48ad-a577-4c918716d8f0</item-id></data>

2022-02-03 21:57: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-87cb34f0-d7b4-491d-8863-b10599fe221f</value></node><item-id label="Item ID" type="text-single"><value>item-6c5dae12-c517-48ad-a577-4c918716d8f0</value></item-id><item label="Item" type="text-multi"><value><item id="item-6c5dae12-c517-48ad-a577-4c918716d8f0"><test>item-6c5dae12-c517-48ad-a577-4c918716d8f0</test></item></value></item></result>

2022-02-03 21:57:50 | [Mutex] notify: [retrieved:item:item-6c5dae12-c517-48ad-a577-4c918716d8f0:payload-matches:true:localhost]

2022-02-03 21:57:50 | [Mutex] received everything.

2022-02-03 21:57:50 | [Mutex] isItemNotified: retrieved:item:item-6c5dae12-c517-48ad-a577-4c918716d8f0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-02-03 21:57:50 |

2022-02-03 21:57:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:50 | ------------------------------------

2022-02-03 21:57:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-03 21:57:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-87cb34f0-d7b4-491d-8863-b10599fe221f</value><value>test</value><value>node-ff7952e0-d3ba-4583-bb2b-1ff2bdd556e6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-03 21:57:50 |

2022-02-03 21:57:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:50 | ------------------------------------

2022-02-03 21:57: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-87cb34f0-d7b4-491d-8863-b10599fe221f)</node-pattern></data>

2022-02-03 21:57:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.140s
2022-02-03 21:57:48 |

2022-02-03 21:57:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:48 | ------------------------------------

2022-02-03 21:57:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-87cb34f0-d7b4-491d-8863-b10599fe221f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-03 21:57:48 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.282s
2022-02-03 21:57:50 |

2022-02-03 21:57:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 21:57:50 | ------------------------------------

2022-02-03 21:57:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-87cb34f0-d7b4-491d-8863-b10599fe221f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-03 21:57:51 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>