Generated by TestNG with ReportNG at 20:59 PDT on Wednesday 05 July 2023
root@cc7d7fbb25f7 / 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.470s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2023-07-05 21:13:49 |

2023-07-05 21:13:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:49 | ------------------------------------

2023-07-05 21:13:49 | [Mutex] waiting for: [configured:node:node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46:node-3bbe76aa-11e9-4996-bbcb-82212c1237bd]

2023-07-05 21:13:49 | [Mutex] received everything.

2023-07-05 21:13:49 | [Mutex] isItemNotified: configured:node:node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46:node-3bbe76aa-11e9-4996-bbcb-82212c1237bd :: true

2023-07-05 21:13:50 | [Mutex] waiting for: [received:nodes:38b8e6ed-3a9d-405f-b027-5f906d539917:localhost]

2023-07-05 21:13:50 | [Mutex] received everything.

2023-07-05 21:13:50 | [Mutex] isItemNotified: received:node:38b8e6ed-3a9d-405f-b027-5f906d539917:localhost:node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46:Node 91be87f2-cfc9-4b41-ab08-6ee0a72adb46 :: true

2023-07-05 21:13:50 | [Mutex] waiting for: [received:nodes:d7a3462b-0875-4701-8ae4-8845e3316904:localhost]

2023-07-05 21:13:50 | [Mutex] waiting for: [received:nodes:d7a3462b-0875-4701-8ae4-8845e3316904:localhost]

2023-07-05 21:13:50 | [Mutex] waiting for: [received:nodes:d7a3462b-0875-4701-8ae4-8845e3316904:localhost]

2023-07-05 21:13:50 | [Mutex] waiting for: [received:nodes:d7a3462b-0875-4701-8ae4-8845e3316904:localhost]

2023-07-05 21:13:50 | [Mutex] received everything.

2023-07-05 21:13:50 | [Mutex] isItemNotified: received:node:d7a3462b-0875-4701-8ae4-8845e3316904:localhost:node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46:Node 91be87f2-cfc9-4b41-ab08-6ee0a72adb46 :: false

createNodes 1.457s
2023-07-05 21:13:46 |

2023-07-05 21:13:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:46 | ------------------------------------

2023-07-05 21:13:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 91be87f2-cfc9-4b41-ab08-6ee0a72adb46</title></pubsub></data>

2023-07-05 21:13:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 21:13:48 | [Mutex] waiting for: [received:nodes:d84a8a37-5561-4f28-85f9-14fdc35759df:localhost]

2023-07-05 21:13:48 | [Mutex] waiting for: [received:nodes:d84a8a37-5561-4f28-85f9-14fdc35759df:localhost]

2023-07-05 21:13:48 | [Mutex] waiting for: [received:nodes:d84a8a37-5561-4f28-85f9-14fdc35759df:localhost]

2023-07-05 21:13:48 | [Mutex] received everything.

2023-07-05 21:13:48 | [Mutex] isItemNotified: received:node:d84a8a37-5561-4f28-85f9-14fdc35759df:localhost:node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46:Node 91be87f2-cfc9-4b41-ab08-6ee0a72adb46 :: true

createSubnodes 1.028s
2023-07-05 21:13:48 |

2023-07-05 21:13:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:48 | ------------------------------------

2023-07-05 21:13:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3bbe76aa-11e9-4996-bbcb-82212c1237bd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3bbe76aa-11e9-4996-bbcb-82212c1237bd</title></pubsub></data>

2023-07-05 21:13:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 21:13:49 | [Mutex] waiting for: [received:nodes:76fea91c-b7f3-4072-9065-ef86cb007350:localhost]

2023-07-05 21:13:49 | [Mutex] waiting for: [received:nodes:76fea91c-b7f3-4072-9065-ef86cb007350:localhost]

2023-07-05 21:13:49 | [Mutex] waiting for: [received:nodes:76fea91c-b7f3-4072-9065-ef86cb007350:localhost]

2023-07-05 21:13:49 | [Mutex] waiting for: [received:nodes:76fea91c-b7f3-4072-9065-ef86cb007350:localhost]

2023-07-05 21:13:49 | [Mutex] waiting for: [received:nodes:76fea91c-b7f3-4072-9065-ef86cb007350:localhost]

2023-07-05 21:13:49 | [Mutex] received everything.

2023-07-05 21:13:49 | [Mutex] isItemNotified: received:node:76fea91c-b7f3-4072-9065-ef86cb007350:localhost:node-3bbe76aa-11e9-4996-bbcb-82212c1237bd:Node 3bbe76aa-11e9-4996-bbcb-82212c1237bd :: true

deleteNodes 1.017s
2023-07-05 21:13:54 |

2023-07-05 21:13:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:54 | ------------------------------------

2023-07-05 21:13:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3bbe76aa-11e9-4996-bbcb-82212c1237bd</node></data>

2023-07-05 21:13:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 21:13:55 | [Mutex] waiting for: [received:nodes:47737526-5388-4773-a24c-3e0ddb4d39de:localhost]

2023-07-05 21:13:55 | [Mutex] waiting for: [received:nodes:47737526-5388-4773-a24c-3e0ddb4d39de:localhost]

2023-07-05 21:13:55 | [Mutex] waiting for: [received:nodes:47737526-5388-4773-a24c-3e0ddb4d39de:localhost]

2023-07-05 21:13:55 | [Mutex] received everything.

2023-07-05 21:13:55 | [Mutex] isItemNotified: received:node:47737526-5388-4773-a24c-3e0ddb4d39de:localhost:node-3bbe76aa-11e9-4996-bbcb-82212c1237bd:Node 3bbe76aa-11e9-4996-bbcb-82212c1237bd :: false

deleteSubnodes 1.137s
2023-07-05 21:13:53 |

2023-07-05 21:13:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:53 | ------------------------------------

2023-07-05 21:13:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46</node></data>

2023-07-05 21:13:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-05 21:13:54 | [Mutex] waiting for: [received:nodes:4a8aca86-46e8-4ed2-8fe7-4ac6f6c9d856:localhost]

2023-07-05 21:13:54 | [Mutex] waiting for: [received:nodes:4a8aca86-46e8-4ed2-8fe7-4ac6f6c9d856:localhost]

2023-07-05 21:13:54 | [Mutex] waiting for: [received:nodes:4a8aca86-46e8-4ed2-8fe7-4ac6f6c9d856:localhost]

2023-07-05 21:13:54 | [Mutex] waiting for: [received:nodes:4a8aca86-46e8-4ed2-8fe7-4ac6f6c9d856:localhost]

2023-07-05 21:13:54 | [Mutex] received everything.

2023-07-05 21:13:54 | [Mutex] isItemNotified: received:node:4a8aca86-46e8-4ed2-8fe7-4ac6f6c9d856:localhost:node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46:Node 91be87f2-cfc9-4b41-ab08-6ee0a72adb46 :: false

2023-07-05 21:13:54 | [Mutex] waiting for: [received:nodes:11e16fb4-6b8a-4753-9600-f9eff5f04f62:localhost]

2023-07-05 21:13:54 | [Mutex] received everything.

2023-07-05 21:13:54 | [Mutex] isItemNotified: received:node:11e16fb4-6b8a-4753-9600-f9eff5f04f62:localhost:node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46:Node 91be87f2-cfc9-4b41-ab08-6ee0a72adb46 :: false

publishItemsToNodes 0.208s
2023-07-05 21:13:51 |

2023-07-05 21:13:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:51 | ------------------------------------

2023-07-05 21:13:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46</node><item-id>item-15b37703-e3a7-4833-9f4a-679165b65634</item-id><entry><test>item-15b37703-e3a7-4833-9f4a-679165b65634</test></entry></data>

2023-07-05 21:13: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-15b37703-e3a7-4833-9f4a-679165b65634</value></item-id></result>

2023-07-05 21:13:51 | [Mutex] received everything.

2023-07-05 21:13:51 | [Mutex] isItemNotified: published:item:notifieditem-15b37703-e3a7-4833-9f4a-679165b65634:admin@test-domain.com :: true

retractItemsFromNodes 0.292s
2023-07-05 21:13:52 |

2023-07-05 21:13:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:52 | ------------------------------------

2023-07-05 21:13:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46</node><item-id>item-15b37703-e3a7-4833-9f4a-679165b65634</item-id></data>

2023-07-05 21:13:52 | 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-15b37703-e3a7-4833-9f4a-679165b65634</value></item-id></result>

2023-07-05 21:13:52 | [Mutex] received everything.

2023-07-05 21:13:52 | [Mutex] isItemNotified: retracted:item:notifieditem-15b37703-e3a7-4833-9f4a-679165b65634:admin@test-domain.com :: true

retrieveItemsFromNodes 0.194s
2023-07-05 21:13:51 |

2023-07-05 21:13:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:51 | ------------------------------------

2023-07-05 21:13:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46</node><item-id>item-15b37703-e3a7-4833-9f4a-679165b65634</item-id></data>

2023-07-05 21:13:52 | 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-91be87f2-cfc9-4b41-ab08-6ee0a72adb46</value></node><item-id label="Item ID" type="text-single"><value>item-15b37703-e3a7-4833-9f4a-679165b65634</value></item-id><item label="Item" type="text-multi"><value><item id="item-15b37703-e3a7-4833-9f4a-679165b65634"><test>item-15b37703-e3a7-4833-9f4a-679165b65634</test></item></value></item></result>

2023-07-05 21:13:52 | [Mutex] notify: [retrieved:item:item-15b37703-e3a7-4833-9f4a-679165b65634:payload-matches:true:localhost]

2023-07-05 21:13:52 | [Mutex] received everything.

2023-07-05 21:13:52 | [Mutex] isItemNotified: retrieved:item:item-15b37703-e3a7-4833-9f4a-679165b65634:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-05 21:13:52 |

2023-07-05 21:13:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:52 | ------------------------------------

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

2023-07-05 21:13:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46</value><value>node-3bbe76aa-11e9-4996-bbcb-82212c1237bd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-05 21:13:52 |

2023-07-05 21:13:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:52 | ------------------------------------

2023-07-05 21:13:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46)</node-pattern></data>

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

subscribeNodes 1.104s
2023-07-05 21:13:50 |

2023-07-05 21:13:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:50 | ------------------------------------

2023-07-05 21:13:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-05 21:13:50 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.154s
2023-07-05 21:13:52 |

2023-07-05 21:13:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 21:13:52 | ------------------------------------

2023-07-05 21:13:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-91be87f2-cfc9-4b41-ab08-6ee0a72adb46</node><jids><value>admin@test-domain.com</value></jids></data>

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