Generated by TestNG with ReportNG at 22:16 PDT on Friday 07 July 2023
root@1512af24e4a5 / 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.225s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.083s
2023-07-07 22:30:41 |

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

2023-07-07 22:30:41 | ------------------------------------

2023-07-07 22:30:41 | [Mutex] waiting for: [configured:node:node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7:node-1ea62633-fa07-421f-80c5-84037bd4be69]

2023-07-07 22:30:41 | [Mutex] received everything.

2023-07-07 22:30:41 | [Mutex] isItemNotified: configured:node:node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7:node-1ea62633-fa07-421f-80c5-84037bd4be69 :: true

2023-07-07 22:30:42 | [Mutex] waiting for: [received:nodes:146d1200-20f3-4544-948a-77caa386de90:localhost]

2023-07-07 22:30:42 | [Mutex] received everything.

2023-07-07 22:30:42 | [Mutex] isItemNotified: received:node:146d1200-20f3-4544-948a-77caa386de90:localhost:node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7:Node 0176abda-ebd5-4fe4-86e1-4367e34ac0e7 :: true

2023-07-07 22:30:42 | [Mutex] waiting for: [received:nodes:be7b2963-8894-432d-b2b7-ce061e2677e7:localhost]

2023-07-07 22:30:42 | [Mutex] waiting for: [received:nodes:be7b2963-8894-432d-b2b7-ce061e2677e7:localhost]

2023-07-07 22:30:42 | [Mutex] waiting for: [received:nodes:be7b2963-8894-432d-b2b7-ce061e2677e7:localhost]

2023-07-07 22:30:42 | [Mutex] waiting for: [received:nodes:be7b2963-8894-432d-b2b7-ce061e2677e7:localhost]

2023-07-07 22:30:42 | [Mutex] received everything.

2023-07-07 22:30:42 | [Mutex] isItemNotified: received:node:be7b2963-8894-432d-b2b7-ce061e2677e7:localhost:node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7:Node 0176abda-ebd5-4fe4-86e1-4367e34ac0e7 :: false

createNodes 1.386s
2023-07-07 22:30:39 |

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

2023-07-07 22:30:39 | ------------------------------------

2023-07-07 22:30:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0176abda-ebd5-4fe4-86e1-4367e34ac0e7</title></pubsub></data>

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

2023-07-07 22:30:40 | [Mutex] waiting for: [received:nodes:5b03778d-de74-451f-b68f-c278fede489a:localhost]

2023-07-07 22:30:40 | [Mutex] waiting for: [received:nodes:5b03778d-de74-451f-b68f-c278fede489a:localhost]

2023-07-07 22:30:40 | [Mutex] waiting for: [received:nodes:5b03778d-de74-451f-b68f-c278fede489a:localhost]

2023-07-07 22:30:40 | [Mutex] waiting for: [received:nodes:5b03778d-de74-451f-b68f-c278fede489a:localhost]

2023-07-07 22:30:40 | [Mutex] received everything.

2023-07-07 22:30:40 | [Mutex] isItemNotified: received:node:5b03778d-de74-451f-b68f-c278fede489a:localhost:node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7:Node 0176abda-ebd5-4fe4-86e1-4367e34ac0e7 :: true

createSubnodes 1.020s
2023-07-07 22:30:40 |

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

2023-07-07 22:30:40 | ------------------------------------

2023-07-07 22:30:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1ea62633-fa07-421f-80c5-84037bd4be69</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1ea62633-fa07-421f-80c5-84037bd4be69</title></pubsub></data>

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

2023-07-07 22:30:41 | [Mutex] waiting for: [received:nodes:0fe8565a-46a1-4ec3-83d2-4a18f86549db:localhost]

2023-07-07 22:30:41 | [Mutex] waiting for: [received:nodes:0fe8565a-46a1-4ec3-83d2-4a18f86549db:localhost]

2023-07-07 22:30:41 | [Mutex] waiting for: [received:nodes:0fe8565a-46a1-4ec3-83d2-4a18f86549db:localhost]

2023-07-07 22:30:41 | [Mutex] waiting for: [received:nodes:0fe8565a-46a1-4ec3-83d2-4a18f86549db:localhost]

2023-07-07 22:30:41 | [Mutex] waiting for: [received:nodes:0fe8565a-46a1-4ec3-83d2-4a18f86549db:localhost]

2023-07-07 22:30:41 | [Mutex] received everything.

2023-07-07 22:30:41 | [Mutex] isItemNotified: received:node:0fe8565a-46a1-4ec3-83d2-4a18f86549db:localhost:node-1ea62633-fa07-421f-80c5-84037bd4be69:Node 1ea62633-fa07-421f-80c5-84037bd4be69 :: true

deleteNodes 1.016s
2023-07-07 22:30:46 |

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

2023-07-07 22:30:46 | ------------------------------------

2023-07-07 22:30:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1ea62633-fa07-421f-80c5-84037bd4be69</node></data>

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

2023-07-07 22:30:47 | [Mutex] waiting for: [received:nodes:646808bc-d287-4fa0-b1ec-2caffc65cd99:localhost]

2023-07-07 22:30:47 | [Mutex] waiting for: [received:nodes:646808bc-d287-4fa0-b1ec-2caffc65cd99:localhost]

2023-07-07 22:30:47 | [Mutex] waiting for: [received:nodes:646808bc-d287-4fa0-b1ec-2caffc65cd99:localhost]

2023-07-07 22:30:47 | [Mutex] received everything.

2023-07-07 22:30:47 | [Mutex] isItemNotified: received:node:646808bc-d287-4fa0-b1ec-2caffc65cd99:localhost:node-1ea62633-fa07-421f-80c5-84037bd4be69:Node 1ea62633-fa07-421f-80c5-84037bd4be69 :: false

deleteSubnodes 1.112s
2023-07-07 22:30:45 |

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

2023-07-07 22:30:45 | ------------------------------------

2023-07-07 22:30:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7</node></data>

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

2023-07-07 22:30:46 | [Mutex] waiting for: [received:nodes:35ca499e-6ce8-4f0b-a0df-e8d71a1e2fdf:localhost]

2023-07-07 22:30:46 | [Mutex] received everything.

2023-07-07 22:30:46 | [Mutex] isItemNotified: received:node:35ca499e-6ce8-4f0b-a0df-e8d71a1e2fdf:localhost:node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7:Node 0176abda-ebd5-4fe4-86e1-4367e34ac0e7 :: false

2023-07-07 22:30:46 | [Mutex] waiting for: [received:nodes:a7fef6fa-b4d0-4ec3-9a86-65af5a1cf647:localhost]

2023-07-07 22:30:46 | [Mutex] received everything.

2023-07-07 22:30:46 | [Mutex] isItemNotified: received:node:a7fef6fa-b4d0-4ec3-9a86-65af5a1cf647:localhost:node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7:Node 0176abda-ebd5-4fe4-86e1-4367e34ac0e7 :: false

publishItemsToNodes 0.237s
2023-07-07 22:30:43 |

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

2023-07-07 22:30:43 | ------------------------------------

2023-07-07 22:30:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7</node><item-id>item-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023</item-id><entry><test>item-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023</test></entry></data>

2023-07-07 22:30:43 | 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-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023</value></item-id></result>

2023-07-07 22:30:43 | [Mutex] received everything.

2023-07-07 22:30:43 | [Mutex] isItemNotified: published:item:notifieditem-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023:admin@test-domain.com :: true

retractItemsFromNodes 0.172s
2023-07-07 22:30:44 |

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

2023-07-07 22:30:44 | ------------------------------------

2023-07-07 22:30:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7</node><item-id>item-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023</item-id></data>

2023-07-07 22:30:44 | 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-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023</value></item-id></result>

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

2023-07-07 22:30:44 | [Mutex] isItemNotified: retracted:item:notifieditem-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023:admin@test-domain.com :: true

retrieveItemsFromNodes 0.219s
2023-07-07 22:30:43 |

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

2023-07-07 22:30:43 | ------------------------------------

2023-07-07 22:30:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7</node><item-id>item-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023</item-id></data>

2023-07-07 22:30:44 | 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-0176abda-ebd5-4fe4-86e1-4367e34ac0e7</value></node><item-id type="text-single" label="Item ID"><value>item-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023</value></item-id><item type="text-multi" label="Item"><value><item id="item-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023"><test>item-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023</test></item></value></item></result>

2023-07-07 22:30:44 | [Mutex] notify: [retrieved:item:item-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023:payload-matches:true:localhost]

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

2023-07-07 22:30:44 | [Mutex] isItemNotified: retrieved:item:item-e7f4d4c6-eaf2-4b4c-8a36-2a6e16a06023:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-07 22:30:44 |

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

2023-07-07 22:30:44 | ------------------------------------

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

2023-07-07 22:30:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-1ea62633-fa07-421f-80c5-84037bd4be69</value><value>test</value><value>node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.052s
2023-07-07 22:30:44 |

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

2023-07-07 22:30:44 | ------------------------------------

2023-07-07 22:30:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7)</node-pattern></data>

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

subscribeNodes 1.122s
2023-07-07 22:30:42 |

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

2023-07-07 22:30:42 | ------------------------------------

2023-07-07 22:30:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.190s
2023-07-07 22:30:44 |

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

2023-07-07 22:30:44 | ------------------------------------

2023-07-07 22:30:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0176abda-ebd5-4fe4-86e1-4367e34ac0e7</node><jids><value>admin@test-domain.com</value></jids></data>

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