Generated by TestNG with ReportNG at 05:51 PDT on Monday 24 October 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.739s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.074s
2022-10-24 06:19:29 |

2022-10-24 06:19:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:29 | ------------------------------------

2022-10-24 06:19:29 | [Mutex] waiting for: [configured:node:node-52cd9ddc-603d-494a-8cc2-8ede640e0606:node-0590ad5d-44aa-4396-af53-ad9ef1ed51b4]

2022-10-24 06:19:29 | [Mutex] received everything.

2022-10-24 06:19:29 | [Mutex] isItemNotified: configured:node:node-52cd9ddc-603d-494a-8cc2-8ede640e0606:node-0590ad5d-44aa-4396-af53-ad9ef1ed51b4 :: true

2022-10-24 06:19:30 | [Mutex] waiting for: [received:nodes:ad821b01-1236-4504-b6e4-14968c4c0342:localhost]

2022-10-24 06:19:30 | [Mutex] received everything.

2022-10-24 06:19:30 | [Mutex] isItemNotified: received:node:ad821b01-1236-4504-b6e4-14968c4c0342:localhost:node-52cd9ddc-603d-494a-8cc2-8ede640e0606:Node 52cd9ddc-603d-494a-8cc2-8ede640e0606 :: true

2022-10-24 06:19:30 | [Mutex] waiting for: [received:nodes:e1fa9516-e85c-4d3d-b516-5476590b5b7c:localhost]

2022-10-24 06:19:30 | [Mutex] received everything.

2022-10-24 06:19:30 | [Mutex] isItemNotified: received:node:e1fa9516-e85c-4d3d-b516-5476590b5b7c:localhost:node-52cd9ddc-603d-494a-8cc2-8ede640e0606:Node 52cd9ddc-603d-494a-8cc2-8ede640e0606 :: false

createNodes 1.622s
2022-10-24 06:19:27 |

2022-10-24 06:19:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:27 | ------------------------------------

2022-10-24 06:19:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-52cd9ddc-603d-494a-8cc2-8ede640e0606</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 52cd9ddc-603d-494a-8cc2-8ede640e0606</title></pubsub></data>

2022-10-24 06:19:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-24 06:19:28 | [Mutex] waiting for: [received:nodes:c087f3ed-3b9b-4b4f-8bfa-70d0f7709c7d:localhost]

2022-10-24 06:19:28 | [Mutex] received everything.

2022-10-24 06:19:28 | [Mutex] isItemNotified: received:node:c087f3ed-3b9b-4b4f-8bfa-70d0f7709c7d:localhost:node-52cd9ddc-603d-494a-8cc2-8ede640e0606:Node 52cd9ddc-603d-494a-8cc2-8ede640e0606 :: true

createSubnodes 1.023s
2022-10-24 06:19:28 |

2022-10-24 06:19:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:28 | ------------------------------------

2022-10-24 06:19:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0590ad5d-44aa-4396-af53-ad9ef1ed51b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0590ad5d-44aa-4396-af53-ad9ef1ed51b4</title></pubsub></data>

2022-10-24 06:19:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-24 06:19:29 | [Mutex] waiting for: [received:nodes:160433da-27ec-46d1-bd53-94c9761a29d7:localhost]

2022-10-24 06:19:29 | [Mutex] received everything.

2022-10-24 06:19:29 | [Mutex] isItemNotified: received:node:160433da-27ec-46d1-bd53-94c9761a29d7:localhost:node-0590ad5d-44aa-4396-af53-ad9ef1ed51b4:Node 0590ad5d-44aa-4396-af53-ad9ef1ed51b4 :: true

deleteNodes 1.018s
2022-10-24 06:19:35 |

2022-10-24 06:19:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:35 | ------------------------------------

2022-10-24 06:19:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0590ad5d-44aa-4396-af53-ad9ef1ed51b4</node></data>

2022-10-24 06:19:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-24 06:19:36 | [Mutex] waiting for: [received:nodes:c444b9ea-1b4a-46d4-b163-5da1230e90aa:localhost]

2022-10-24 06:19:36 | [Mutex] waiting for: [received:nodes:c444b9ea-1b4a-46d4-b163-5da1230e90aa:localhost]

2022-10-24 06:19:36 | [Mutex] received everything.

2022-10-24 06:19:36 | [Mutex] isItemNotified: received:node:c444b9ea-1b4a-46d4-b163-5da1230e90aa:localhost:node-0590ad5d-44aa-4396-af53-ad9ef1ed51b4:Node 0590ad5d-44aa-4396-af53-ad9ef1ed51b4 :: false

deleteSubnodes 1.132s
2022-10-24 06:19:34 |

2022-10-24 06:19:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:34 | ------------------------------------

2022-10-24 06:19:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-52cd9ddc-603d-494a-8cc2-8ede640e0606</node></data>

2022-10-24 06:19:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-24 06:19:35 | [Mutex] waiting for: [received:nodes:9f2d77b0-34f4-40b1-b42b-f2e7c204829c:localhost]

2022-10-24 06:19:35 | [Mutex] waiting for: [received:nodes:9f2d77b0-34f4-40b1-b42b-f2e7c204829c:localhost]

2022-10-24 06:19:35 | [Mutex] waiting for: [received:nodes:9f2d77b0-34f4-40b1-b42b-f2e7c204829c:localhost]

2022-10-24 06:19:35 | [Mutex] waiting for: [received:nodes:9f2d77b0-34f4-40b1-b42b-f2e7c204829c:localhost]

2022-10-24 06:19:35 | [Mutex] received everything.

2022-10-24 06:19:35 | [Mutex] isItemNotified: received:node:9f2d77b0-34f4-40b1-b42b-f2e7c204829c:localhost:node-52cd9ddc-603d-494a-8cc2-8ede640e0606:Node 52cd9ddc-603d-494a-8cc2-8ede640e0606 :: false

2022-10-24 06:19:35 | [Mutex] waiting for: [received:nodes:ab3048ee-0dd4-41e5-867f-d85cefa3b7ac:localhost]

2022-10-24 06:19:35 | [Mutex] received everything.

2022-10-24 06:19:35 | [Mutex] isItemNotified: received:node:ab3048ee-0dd4-41e5-867f-d85cefa3b7ac:localhost:node-52cd9ddc-603d-494a-8cc2-8ede640e0606:Node 52cd9ddc-603d-494a-8cc2-8ede640e0606 :: false

publishItemsToNodes 0.285s
2022-10-24 06:19:31 |

2022-10-24 06:19:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:31 | ------------------------------------

2022-10-24 06:19:31 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-52cd9ddc-603d-494a-8cc2-8ede640e0606</node><item-id>item-c9f4a030-c853-4a8b-b50d-36c97f6cecad</item-id><entry><test>item-c9f4a030-c853-4a8b-b50d-36c97f6cecad</test></entry></data>

2022-10-24 06:19:32 | 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-c9f4a030-c853-4a8b-b50d-36c97f6cecad</value></item-id></result>

2022-10-24 06:19:32 | [Mutex] received everything.

2022-10-24 06:19:32 | [Mutex] isItemNotified: published:item:notifieditem-c9f4a030-c853-4a8b-b50d-36c97f6cecad:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2022-10-24 06:19:32 |

2022-10-24 06:19:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:32 | ------------------------------------

2022-10-24 06:19:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-52cd9ddc-603d-494a-8cc2-8ede640e0606</node><item-id>item-c9f4a030-c853-4a8b-b50d-36c97f6cecad</item-id></data>

2022-10-24 06:19:32 | 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-c9f4a030-c853-4a8b-b50d-36c97f6cecad</value></item-id></result>

2022-10-24 06:19:32 | [Mutex] received everything.

2022-10-24 06:19:32 | [Mutex] isItemNotified: retracted:item:notifieditem-c9f4a030-c853-4a8b-b50d-36c97f6cecad:admin@test-domain.com :: true

retrieveItemsFromNodes 0.146s
2022-10-24 06:19:32 |

2022-10-24 06:19:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:32 | ------------------------------------

2022-10-24 06:19:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-52cd9ddc-603d-494a-8cc2-8ede640e0606</node><item-id>item-c9f4a030-c853-4a8b-b50d-36c97f6cecad</item-id></data>

2022-10-24 06:19:32 | 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-52cd9ddc-603d-494a-8cc2-8ede640e0606</value></node><item-id label="Item ID" type="text-single"><value>item-c9f4a030-c853-4a8b-b50d-36c97f6cecad</value></item-id><item label="Item" type="text-multi"><value><item id="item-c9f4a030-c853-4a8b-b50d-36c97f6cecad"><test>item-c9f4a030-c853-4a8b-b50d-36c97f6cecad</test></item></value></item></result>

2022-10-24 06:19:32 | [Mutex] notify: [retrieved:item:item-c9f4a030-c853-4a8b-b50d-36c97f6cecad:payload-matches:true:localhost]

2022-10-24 06:19:32 | [Mutex] received everything.

2022-10-24 06:19:32 | [Mutex] isItemNotified: retrieved:item:item-c9f4a030-c853-4a8b-b50d-36c97f6cecad:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-24 06:19:32 |

2022-10-24 06:19:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:32 | ------------------------------------

2022-10-24 06:19:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-24 06:19:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-52cd9ddc-603d-494a-8cc2-8ede640e0606</value><value>test</value><value>node-0590ad5d-44aa-4396-af53-ad9ef1ed51b4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-10-24 06:19:32 |

2022-10-24 06:19:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:32 | ------------------------------------

2022-10-24 06:19:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-52cd9ddc-603d-494a-8cc2-8ede640e0606)</node-pattern></data>

2022-10-24 06:19:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.102s
2022-10-24 06:19:30 |

2022-10-24 06:19:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:30 | ------------------------------------

2022-10-24 06:19:30 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-52cd9ddc-603d-494a-8cc2-8ede640e0606</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-24 06:19:30 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.259s
2022-10-24 06:19:32 |

2022-10-24 06:19:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:19:32 | ------------------------------------

2022-10-24 06:19:32 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-52cd9ddc-603d-494a-8cc2-8ede640e0606</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-24 06:19:33 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>