Generated by TestNG with ReportNG at 22:19 PDT on Wednesday 29 June 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.471s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-06-29 22:33:48 |

2022-06-29 22:33:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:48 | ------------------------------------

2022-06-29 22:33:48 | [Mutex] waiting for: [configured:node:node-079592d1-7d09-4493-8c74-f1b6791b5bd2:node-8cc798c0-108c-4787-a947-2bd4fde83183]

2022-06-29 22:33:48 | [Mutex] received everything.

2022-06-29 22:33:48 | [Mutex] isItemNotified: configured:node:node-079592d1-7d09-4493-8c74-f1b6791b5bd2:node-8cc798c0-108c-4787-a947-2bd4fde83183 :: true

2022-06-29 22:33:49 | [Mutex] waiting for: [received:nodes:41f48957-21e4-471c-874b-bf04fe922893:localhost]

2022-06-29 22:33:49 | [Mutex] received everything.

2022-06-29 22:33:49 | [Mutex] isItemNotified: received:node:41f48957-21e4-471c-874b-bf04fe922893:localhost:node-079592d1-7d09-4493-8c74-f1b6791b5bd2:Node 079592d1-7d09-4493-8c74-f1b6791b5bd2 :: true

2022-06-29 22:33:49 | [Mutex] waiting for: [received:nodes:4d82eef1-82a5-43f4-8613-2e489f782581:localhost]

2022-06-29 22:33:49 | [Mutex] received everything.

2022-06-29 22:33:49 | [Mutex] isItemNotified: received:node:4d82eef1-82a5-43f4-8613-2e489f782581:localhost:node-079592d1-7d09-4493-8c74-f1b6791b5bd2:Node 079592d1-7d09-4493-8c74-f1b6791b5bd2 :: false

createNodes 1.478s
2022-06-29 22:33:46 |

2022-06-29 22:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:46 | ------------------------------------

2022-06-29 22:33:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-079592d1-7d09-4493-8c74-f1b6791b5bd2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 079592d1-7d09-4493-8c74-f1b6791b5bd2</title></pubsub></data>

2022-06-29 22:33:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-29 22:33:47 | [Mutex] waiting for: [received:nodes:84ac8956-362a-4f5e-872f-118aca4fcc40:localhost]

2022-06-29 22:33:47 | [Mutex] received everything.

2022-06-29 22:33:47 | [Mutex] isItemNotified: received:node:84ac8956-362a-4f5e-872f-118aca4fcc40:localhost:node-079592d1-7d09-4493-8c74-f1b6791b5bd2:Node 079592d1-7d09-4493-8c74-f1b6791b5bd2 :: true

createSubnodes 1.024s
2022-06-29 22:33:47 |

2022-06-29 22:33:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:47 | ------------------------------------

2022-06-29 22:33:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8cc798c0-108c-4787-a947-2bd4fde83183</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8cc798c0-108c-4787-a947-2bd4fde83183</title></pubsub></data>

2022-06-29 22:33:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-29 22:33:48 | [Mutex] waiting for: [received:nodes:1e210b84-6b90-4872-9365-2c8c7c1188a9:localhost]

2022-06-29 22:33:48 | [Mutex] received everything.

2022-06-29 22:33:48 | [Mutex] isItemNotified: received:node:1e210b84-6b90-4872-9365-2c8c7c1188a9:localhost:node-8cc798c0-108c-4787-a947-2bd4fde83183:Node 8cc798c0-108c-4787-a947-2bd4fde83183 :: true

deleteNodes 1.023s
2022-06-29 22:33:54 |

2022-06-29 22:33:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:54 | ------------------------------------

2022-06-29 22:33:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8cc798c0-108c-4787-a947-2bd4fde83183</node></data>

2022-06-29 22:33:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-29 22:33:55 | [Mutex] waiting for: [received:nodes:e2983313-bd9b-4cbc-a54b-15ec1c1d5a02:localhost]

2022-06-29 22:33:55 | [Mutex] received everything.

2022-06-29 22:33:55 | [Mutex] isItemNotified: received:node:e2983313-bd9b-4cbc-a54b-15ec1c1d5a02:localhost:node-8cc798c0-108c-4787-a947-2bd4fde83183:Node 8cc798c0-108c-4787-a947-2bd4fde83183 :: false

deleteSubnodes 1.116s
2022-06-29 22:33:52 |

2022-06-29 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:52 | ------------------------------------

2022-06-29 22:33:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-079592d1-7d09-4493-8c74-f1b6791b5bd2</node></data>

2022-06-29 22:33:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-29 22:33:54 | [Mutex] waiting for: [received:nodes:310fed22-9b93-4a86-9dca-06c533e78c1f:localhost]

2022-06-29 22:33:54 | [Mutex] received everything.

2022-06-29 22:33:54 | [Mutex] isItemNotified: received:node:310fed22-9b93-4a86-9dca-06c533e78c1f:localhost:node-079592d1-7d09-4493-8c74-f1b6791b5bd2:Node 079592d1-7d09-4493-8c74-f1b6791b5bd2 :: false

2022-06-29 22:33:54 | [Mutex] waiting for: [received:nodes:51e2350c-cea9-40c2-8d29-b5bd49c27ea3:localhost]

2022-06-29 22:33:54 | [Mutex] received everything.

2022-06-29 22:33:54 | [Mutex] isItemNotified: received:node:51e2350c-cea9-40c2-8d29-b5bd49c27ea3:localhost:node-079592d1-7d09-4493-8c74-f1b6791b5bd2:Node 079592d1-7d09-4493-8c74-f1b6791b5bd2 :: false

publishItemsToNodes 0.178s
2022-06-29 22:33:50 |

2022-06-29 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:50 | ------------------------------------

2022-06-29 22:33:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-079592d1-7d09-4493-8c74-f1b6791b5bd2</node><item-id>item-efdf7810-81ea-450b-88ce-fe8de6aabae9</item-id><entry><test>item-efdf7810-81ea-450b-88ce-fe8de6aabae9</test></entry></data>

2022-06-29 22:33:51 | 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-efdf7810-81ea-450b-88ce-fe8de6aabae9</value></item-id></result>

2022-06-29 22:33:51 | [Mutex] received everything.

2022-06-29 22:33:51 | [Mutex] isItemNotified: published:item:notifieditem-efdf7810-81ea-450b-88ce-fe8de6aabae9:admin@test-domain.com :: true

retractItemsFromNodes 0.322s
2022-06-29 22:33:51 |

2022-06-29 22:33:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:51 | ------------------------------------

2022-06-29 22:33:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-079592d1-7d09-4493-8c74-f1b6791b5bd2</node><item-id>item-efdf7810-81ea-450b-88ce-fe8de6aabae9</item-id></data>

2022-06-29 22:33:51 | 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-efdf7810-81ea-450b-88ce-fe8de6aabae9</value></item-id></result>

2022-06-29 22:33:51 | [Mutex] waiting for: [retracted:item:notifieditem-efdf7810-81ea-450b-88ce-fe8de6aabae9:admin@test-domain.com]

2022-06-29 22:33:51 | [Mutex] received everything.

2022-06-29 22:33:51 | [Mutex] isItemNotified: retracted:item:notifieditem-efdf7810-81ea-450b-88ce-fe8de6aabae9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.190s
2022-06-29 22:33:51 |

2022-06-29 22:33:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:51 | ------------------------------------

2022-06-29 22:33:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-079592d1-7d09-4493-8c74-f1b6791b5bd2</node><item-id>item-efdf7810-81ea-450b-88ce-fe8de6aabae9</item-id></data>

2022-06-29 22:33:51 | 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-079592d1-7d09-4493-8c74-f1b6791b5bd2</value></node><item-id label="Item ID" type="text-single"><value>item-efdf7810-81ea-450b-88ce-fe8de6aabae9</value></item-id><item label="Item" type="text-multi"><value><item id="item-efdf7810-81ea-450b-88ce-fe8de6aabae9"><test>item-efdf7810-81ea-450b-88ce-fe8de6aabae9</test></item></value></item></result>

2022-06-29 22:33:51 | [Mutex] notify: [retrieved:item:item-efdf7810-81ea-450b-88ce-fe8de6aabae9:payload-matches:true:localhost]

2022-06-29 22:33:51 | [Mutex] received everything.

2022-06-29 22:33:51 | [Mutex] isItemNotified: retrieved:item:item-efdf7810-81ea-450b-88ce-fe8de6aabae9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-29 22:33:51 |

2022-06-29 22:33:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:51 | ------------------------------------

2022-06-29 22:33:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-29 22:33:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-079592d1-7d09-4493-8c74-f1b6791b5bd2</value><value>test</value><value>node-8cc798c0-108c-4787-a947-2bd4fde83183</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.050s
2022-06-29 22:33:51 |

2022-06-29 22:33:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:51 | ------------------------------------

2022-06-29 22:33:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-079592d1-7d09-4493-8c74-f1b6791b5bd2)</node-pattern></data>

2022-06-29 22:33:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.142s
2022-06-29 22:33:49 |

2022-06-29 22:33:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:49 | ------------------------------------

2022-06-29 22:33:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-079592d1-7d09-4493-8c74-f1b6791b5bd2</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-29 22:33:49 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.192s
2022-06-29 22:33:51 |

2022-06-29 22:33:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:51 | ------------------------------------

2022-06-29 22:33:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-079592d1-7d09-4493-8c74-f1b6791b5bd2</node><jids><value>admin@test-domain.com</value></jids></data>

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