Generated by TestNG with ReportNG at 22:29 PDT on Sunday 09 July 2023
root@8f5c98824654 / Java 17.0.6 (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.442s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2023-07-09 22:44:18 |

2023-07-09 22:44:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:18 | ------------------------------------

2023-07-09 22:44:18 | [Mutex] waiting for: [configured:node:node-d09a2eae-5bc8-4037-a84d-d849c1551036:node-477f2bf5-8bec-4644-a3b9-93842ea465a1]

2023-07-09 22:44:18 | [Mutex] received everything.

2023-07-09 22:44:18 | [Mutex] isItemNotified: configured:node:node-d09a2eae-5bc8-4037-a84d-d849c1551036:node-477f2bf5-8bec-4644-a3b9-93842ea465a1 :: true

2023-07-09 22:44:19 | [Mutex] waiting for: [received:nodes:4bfd0e05-35e1-45d4-bf7a-9e45ea6c7952:localhost]

2023-07-09 22:44:19 | [Mutex] received everything.

2023-07-09 22:44:19 | [Mutex] isItemNotified: received:node:4bfd0e05-35e1-45d4-bf7a-9e45ea6c7952:localhost:node-d09a2eae-5bc8-4037-a84d-d849c1551036:Node d09a2eae-5bc8-4037-a84d-d849c1551036 :: true

2023-07-09 22:44:19 | [Mutex] waiting for: [received:nodes:8deb00ac-a6e6-485a-88b5-14ccfa82433a:localhost]

2023-07-09 22:44:19 | [Mutex] waiting for: [received:nodes:8deb00ac-a6e6-485a-88b5-14ccfa82433a:localhost]

2023-07-09 22:44:19 | [Mutex] waiting for: [received:nodes:8deb00ac-a6e6-485a-88b5-14ccfa82433a:localhost]

2023-07-09 22:44:19 | [Mutex] waiting for: [received:nodes:8deb00ac-a6e6-485a-88b5-14ccfa82433a:localhost]

2023-07-09 22:44:19 | [Mutex] received everything.

2023-07-09 22:44:19 | [Mutex] isItemNotified: received:node:8deb00ac-a6e6-485a-88b5-14ccfa82433a:localhost:node-d09a2eae-5bc8-4037-a84d-d849c1551036:Node d09a2eae-5bc8-4037-a84d-d849c1551036 :: false

createNodes 1.488s
2023-07-09 22:44:16 |

2023-07-09 22:44:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:16 | ------------------------------------

2023-07-09 22:44:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d09a2eae-5bc8-4037-a84d-d849c1551036</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d09a2eae-5bc8-4037-a84d-d849c1551036</title></pubsub></data>

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

2023-07-09 22:44:17 | [Mutex] waiting for: [received:nodes:04f8f611-5f88-45d2-8c6e-20dfff4e9d66:localhost]

2023-07-09 22:44:17 | [Mutex] waiting for: [received:nodes:04f8f611-5f88-45d2-8c6e-20dfff4e9d66:localhost]

2023-07-09 22:44:17 | [Mutex] waiting for: [received:nodes:04f8f611-5f88-45d2-8c6e-20dfff4e9d66:localhost]

2023-07-09 22:44:17 | [Mutex] received everything.

2023-07-09 22:44:17 | [Mutex] isItemNotified: received:node:04f8f611-5f88-45d2-8c6e-20dfff4e9d66:localhost:node-d09a2eae-5bc8-4037-a84d-d849c1551036:Node d09a2eae-5bc8-4037-a84d-d849c1551036 :: true

createSubnodes 1.030s
2023-07-09 22:44:17 |

2023-07-09 22:44:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:17 | ------------------------------------

2023-07-09 22:44:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-477f2bf5-8bec-4644-a3b9-93842ea465a1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 477f2bf5-8bec-4644-a3b9-93842ea465a1</title></pubsub></data>

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

2023-07-09 22:44:18 | [Mutex] waiting for: [received:nodes:942717d2-e660-4000-b9d5-d50659610abf:localhost]

2023-07-09 22:44:18 | [Mutex] received everything.

2023-07-09 22:44:18 | [Mutex] isItemNotified: received:node:942717d2-e660-4000-b9d5-d50659610abf:localhost:node-477f2bf5-8bec-4644-a3b9-93842ea465a1:Node 477f2bf5-8bec-4644-a3b9-93842ea465a1 :: true

deleteNodes 1.024s
2023-07-09 22:44:24 |

2023-07-09 22:44:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:24 | ------------------------------------

2023-07-09 22:44:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-477f2bf5-8bec-4644-a3b9-93842ea465a1</node></data>

2023-07-09 22:44:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-09 22:44:25 | [Mutex] waiting for: [received:nodes:a0d8f9f2-b7cd-4eca-962e-5d8a55e045e4:localhost]

2023-07-09 22:44:25 | [Mutex] waiting for: [received:nodes:a0d8f9f2-b7cd-4eca-962e-5d8a55e045e4:localhost]

2023-07-09 22:44:25 | [Mutex] waiting for: [received:nodes:a0d8f9f2-b7cd-4eca-962e-5d8a55e045e4:localhost]

2023-07-09 22:44:25 | [Mutex] received everything.

2023-07-09 22:44:25 | [Mutex] isItemNotified: received:node:a0d8f9f2-b7cd-4eca-962e-5d8a55e045e4:localhost:node-477f2bf5-8bec-4644-a3b9-93842ea465a1:Node 477f2bf5-8bec-4644-a3b9-93842ea465a1 :: false

deleteSubnodes 1.114s
2023-07-09 22:44:22 |

2023-07-09 22:44:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:22 | ------------------------------------

2023-07-09 22:44:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d09a2eae-5bc8-4037-a84d-d849c1551036</node></data>

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

2023-07-09 22:44:24 | [Mutex] waiting for: [received:nodes:2b66f2d7-dac9-443c-a9c4-2bf99fa491d5:localhost]

2023-07-09 22:44:24 | [Mutex] waiting for: [received:nodes:2b66f2d7-dac9-443c-a9c4-2bf99fa491d5:localhost]

2023-07-09 22:44:24 | [Mutex] waiting for: [received:nodes:2b66f2d7-dac9-443c-a9c4-2bf99fa491d5:localhost]

2023-07-09 22:44:24 | [Mutex] received everything.

2023-07-09 22:44:24 | [Mutex] isItemNotified: received:node:2b66f2d7-dac9-443c-a9c4-2bf99fa491d5:localhost:node-d09a2eae-5bc8-4037-a84d-d849c1551036:Node d09a2eae-5bc8-4037-a84d-d849c1551036 :: false

2023-07-09 22:44:24 | [Mutex] waiting for: [received:nodes:3edf99f0-9a23-4e8a-be06-e4f6cacd85c7:localhost]

2023-07-09 22:44:24 | [Mutex] received everything.

2023-07-09 22:44:24 | [Mutex] isItemNotified: received:node:3edf99f0-9a23-4e8a-be06-e4f6cacd85c7:localhost:node-d09a2eae-5bc8-4037-a84d-d849c1551036:Node d09a2eae-5bc8-4037-a84d-d849c1551036 :: false

publishItemsToNodes 0.265s
2023-07-09 22:44:20 |

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

2023-07-09 22:44:20 | ------------------------------------

2023-07-09 22:44:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d09a2eae-5bc8-4037-a84d-d849c1551036</node><item-id>item-68b4b0f7-01e5-4d86-a165-02bbc09b999a</item-id><entry><test>item-68b4b0f7-01e5-4d86-a165-02bbc09b999a</test></entry></data>

2023-07-09 22:44:21 | 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-68b4b0f7-01e5-4d86-a165-02bbc09b999a</value></item-id></result>

2023-07-09 22:44:21 | [Mutex] received everything.

2023-07-09 22:44:21 | [Mutex] isItemNotified: published:item:notifieditem-68b4b0f7-01e5-4d86-a165-02bbc09b999a:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2023-07-09 22:44:21 |

2023-07-09 22:44:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:21 | ------------------------------------

2023-07-09 22:44:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d09a2eae-5bc8-4037-a84d-d849c1551036</node><item-id>item-68b4b0f7-01e5-4d86-a165-02bbc09b999a</item-id></data>

2023-07-09 22:44:21 | 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-68b4b0f7-01e5-4d86-a165-02bbc09b999a</value></item-id></result>

2023-07-09 22:44:21 | [Mutex] received everything.

2023-07-09 22:44:21 | [Mutex] isItemNotified: retracted:item:notifieditem-68b4b0f7-01e5-4d86-a165-02bbc09b999a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.183s
2023-07-09 22:44:21 |

2023-07-09 22:44:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:21 | ------------------------------------

2023-07-09 22:44:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d09a2eae-5bc8-4037-a84d-d849c1551036</node><item-id>item-68b4b0f7-01e5-4d86-a165-02bbc09b999a</item-id></data>

2023-07-09 22:44:21 | 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-d09a2eae-5bc8-4037-a84d-d849c1551036</value></node><item-id type="text-single" label="Item ID"><value>item-68b4b0f7-01e5-4d86-a165-02bbc09b999a</value></item-id><item type="text-multi" label="Item"><value><item id="item-68b4b0f7-01e5-4d86-a165-02bbc09b999a"><test>item-68b4b0f7-01e5-4d86-a165-02bbc09b999a</test></item></value></item></result>

2023-07-09 22:44:21 | [Mutex] notify: [retrieved:item:item-68b4b0f7-01e5-4d86-a165-02bbc09b999a:payload-matches:true:localhost]

2023-07-09 22:44:21 | [Mutex] received everything.

2023-07-09 22:44:21 | [Mutex] isItemNotified: retrieved:item:item-68b4b0f7-01e5-4d86-a165-02bbc09b999a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-09 22:44:21 |

2023-07-09 22:44:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:21 | ------------------------------------

2023-07-09 22:44:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-09 22:44:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-d09a2eae-5bc8-4037-a84d-d849c1551036</value><value>node-477f2bf5-8bec-4644-a3b9-93842ea465a1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-09 22:44:21 |

2023-07-09 22:44:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:21 | ------------------------------------

2023-07-09 22:44:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d09a2eae-5bc8-4037-a84d-d849c1551036)</node-pattern></data>

2023-07-09 22:44:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.113s
2023-07-09 22:44:19 |

2023-07-09 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:19 | ------------------------------------

2023-07-09 22:44:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d09a2eae-5bc8-4037-a84d-d849c1551036</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-09 22:44:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.187s
2023-07-09 22:44:21 |

2023-07-09 22:44:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:44:21 | ------------------------------------

2023-07-09 22:44:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d09a2eae-5bc8-4037-a84d-d849c1551036</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-09 22:44:21 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>