Generated by TestNG with ReportNG at 22:53 PDT on Tuesday 20 September 2022
root@f9c07ffec79b / 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.577s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2022-09-20 23:07:25 |

2022-09-20 23:07:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:25 | ------------------------------------

2022-09-20 23:07:25 | [Mutex] waiting for: [configured:node:node-4432ec35-0315-43d7-ba78-6ebc292a2a37:node-1ffb85fa-7a07-4e08-8ffa-0964c261025e]

2022-09-20 23:07:25 | [Mutex] received everything.

2022-09-20 23:07:25 | [Mutex] isItemNotified: configured:node:node-4432ec35-0315-43d7-ba78-6ebc292a2a37:node-1ffb85fa-7a07-4e08-8ffa-0964c261025e :: true

2022-09-20 23:07:26 | [Mutex] waiting for: [received:nodes:29abc38e-e59f-4143-9bf7-db19d5abda91:localhost]

2022-09-20 23:07:26 | [Mutex] received everything.

2022-09-20 23:07:26 | [Mutex] isItemNotified: received:node:29abc38e-e59f-4143-9bf7-db19d5abda91:localhost:node-4432ec35-0315-43d7-ba78-6ebc292a2a37:Node 4432ec35-0315-43d7-ba78-6ebc292a2a37 :: true

2022-09-20 23:07:26 | [Mutex] waiting for: [received:nodes:10807481-e9ce-4864-8c07-1bc28940e92a:localhost]

2022-09-20 23:07:26 | [Mutex] received everything.

2022-09-20 23:07:26 | [Mutex] isItemNotified: received:node:10807481-e9ce-4864-8c07-1bc28940e92a:localhost:node-4432ec35-0315-43d7-ba78-6ebc292a2a37:Node 4432ec35-0315-43d7-ba78-6ebc292a2a37 :: false

createNodes 1.527s
2022-09-20 23:07:22 |

2022-09-20 23:07:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:22 | ------------------------------------

2022-09-20 23:07:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4432ec35-0315-43d7-ba78-6ebc292a2a37</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4432ec35-0315-43d7-ba78-6ebc292a2a37</title></pubsub></data>

2022-09-20 23:07:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-20 23:07:24 | [Mutex] waiting for: [received:nodes:4a1de551-42f3-4a22-b205-6e91238a28a5:localhost]

2022-09-20 23:07:24 | [Mutex] received everything.

2022-09-20 23:07:24 | [Mutex] isItemNotified: received:node:4a1de551-42f3-4a22-b205-6e91238a28a5:localhost:node-4432ec35-0315-43d7-ba78-6ebc292a2a37:Node 4432ec35-0315-43d7-ba78-6ebc292a2a37 :: true

createSubnodes 1.030s
2022-09-20 23:07:24 |

2022-09-20 23:07:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:24 | ------------------------------------

2022-09-20 23:07:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1ffb85fa-7a07-4e08-8ffa-0964c261025e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1ffb85fa-7a07-4e08-8ffa-0964c261025e</title></pubsub></data>

2022-09-20 23:07:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-20 23:07:25 | [Mutex] waiting for: [received:nodes:86cd17be-45bd-401b-a476-5fe2e677ff45:localhost]

2022-09-20 23:07:25 | [Mutex] received everything.

2022-09-20 23:07:25 | [Mutex] isItemNotified: received:node:86cd17be-45bd-401b-a476-5fe2e677ff45:localhost:node-1ffb85fa-7a07-4e08-8ffa-0964c261025e:Node 1ffb85fa-7a07-4e08-8ffa-0964c261025e :: true

deleteNodes 1.023s
2022-09-20 23:07:30 |

2022-09-20 23:07:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:30 | ------------------------------------

2022-09-20 23:07:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1ffb85fa-7a07-4e08-8ffa-0964c261025e</node></data>

2022-09-20 23:07:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-20 23:07:31 | [Mutex] waiting for: [received:nodes:856c595d-e897-483b-8711-0476e36ce3a5:localhost]

2022-09-20 23:07:31 | [Mutex] waiting for: [received:nodes:856c595d-e897-483b-8711-0476e36ce3a5:localhost]

2022-09-20 23:07:31 | [Mutex] received everything.

2022-09-20 23:07:31 | [Mutex] isItemNotified: received:node:856c595d-e897-483b-8711-0476e36ce3a5:localhost:node-1ffb85fa-7a07-4e08-8ffa-0964c261025e:Node 1ffb85fa-7a07-4e08-8ffa-0964c261025e :: false

deleteSubnodes 1.140s
2022-09-20 23:07:29 |

2022-09-20 23:07:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:29 | ------------------------------------

2022-09-20 23:07:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4432ec35-0315-43d7-ba78-6ebc292a2a37</node></data>

2022-09-20 23:07:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-20 23:07:30 | [Mutex] waiting for: [received:nodes:d112f2ed-b088-4a3d-9e2e-5b873fd7635e:localhost]

2022-09-20 23:07:30 | [Mutex] received everything.

2022-09-20 23:07:30 | [Mutex] isItemNotified: received:node:d112f2ed-b088-4a3d-9e2e-5b873fd7635e:localhost:node-4432ec35-0315-43d7-ba78-6ebc292a2a37:Node 4432ec35-0315-43d7-ba78-6ebc292a2a37 :: false

2022-09-20 23:07:30 | [Mutex] waiting for: [received:nodes:5aeb2675-d78f-479b-9fac-3aa2319cc28e:localhost]

2022-09-20 23:07:30 | [Mutex] received everything.

2022-09-20 23:07:30 | [Mutex] isItemNotified: received:node:5aeb2675-d78f-479b-9fac-3aa2319cc28e:localhost:node-4432ec35-0315-43d7-ba78-6ebc292a2a37:Node 4432ec35-0315-43d7-ba78-6ebc292a2a37 :: false

publishItemsToNodes 0.223s
2022-09-20 23:07:27 |

2022-09-20 23:07:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:27 | ------------------------------------

2022-09-20 23:07:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4432ec35-0315-43d7-ba78-6ebc292a2a37</node><item-id>item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246</item-id><entry><test>item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246</test></entry></data>

2022-09-20 23:07:27 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246</value></item-id></result>

2022-09-20 23:07:27 | [Mutex] received everything.

2022-09-20 23:07:27 | [Mutex] isItemNotified: published:item:notifieditem-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246:admin@test-domain.com :: true

retractItemsFromNodes 0.340s
2022-09-20 23:07:28 |

2022-09-20 23:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:28 | ------------------------------------

2022-09-20 23:07:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4432ec35-0315-43d7-ba78-6ebc292a2a37</node><item-id>item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246</item-id></data>

2022-09-20 23:07:28 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246</value></item-id></result>

2022-09-20 23:07:28 | [Mutex] received everything.

2022-09-20 23:07:28 | [Mutex] isItemNotified: retracted:item:notifieditem-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246:admin@test-domain.com :: true

retrieveItemsFromNodes 0.228s
2022-09-20 23:07:27 |

2022-09-20 23:07:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:27 | ------------------------------------

2022-09-20 23:07:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4432ec35-0315-43d7-ba78-6ebc292a2a37</node><item-id>item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246</item-id></data>

2022-09-20 23:07:27 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-4432ec35-0315-43d7-ba78-6ebc292a2a37</value></node><item-id type="text-single" label="Item ID"><value>item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246</value></item-id><item type="text-multi" label="Item"><value><item id="item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246"><test>item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246</test></item></value></item></result>

2022-09-20 23:07:27 | [Mutex] notify: [retrieved:item:item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246:payload-matches:true:localhost]

2022-09-20 23:07:27 | [Mutex] received everything.

2022-09-20 23:07:27 | [Mutex] isItemNotified: retrieved:item:item-ff10e6d1-ab5e-4b2d-a8c6-44c42ec0b246:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-09-20 23:07:27 |

2022-09-20 23:07:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:27 | ------------------------------------

2022-09-20 23:07:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-20 23:07:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-4432ec35-0315-43d7-ba78-6ebc292a2a37</value><value>test</value><value>node-1ffb85fa-7a07-4e08-8ffa-0964c261025e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-09-20 23:07:28 |

2022-09-20 23:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:28 | ------------------------------------

2022-09-20 23:07:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4432ec35-0315-43d7-ba78-6ebc292a2a37)</node-pattern></data>

2022-09-20 23:07:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.102s
2022-09-20 23:07:26 |

2022-09-20 23:07:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:26 | ------------------------------------

2022-09-20 23:07:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4432ec35-0315-43d7-ba78-6ebc292a2a37</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-20 23:07:26 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.148s
2022-09-20 23:07:28 |

2022-09-20 23:07:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 23:07:28 | ------------------------------------

2022-09-20 23:07:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4432ec35-0315-43d7-ba78-6ebc292a2a37</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-20 23:07:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>