Generated by TestNG with ReportNG at 09:25 PST on Friday 30 December 2022
root@7c41cec37518 / 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.395s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2022-12-30 09:40:31 |

2022-12-30 09:40:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:31 | ------------------------------------

2022-12-30 09:40:31 | [Mutex] waiting for: [configured:node:node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7:node-4eb4768c-9d58-43d0-9727-aad62084608f]

2022-12-30 09:40:31 | [Mutex] received everything.

2022-12-30 09:40:31 | [Mutex] isItemNotified: configured:node:node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7:node-4eb4768c-9d58-43d0-9727-aad62084608f :: true

2022-12-30 09:40:32 | [Mutex] waiting for: [received:nodes:b7b8e048-6d13-41d2-9811-11eb8f145381:localhost]

2022-12-30 09:40:32 | [Mutex] received everything.

2022-12-30 09:40:32 | [Mutex] isItemNotified: received:node:b7b8e048-6d13-41d2-9811-11eb8f145381:localhost:node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7:Node 871286cc-e3a1-4e64-b3b5-0bbb0a67cee7 :: true

2022-12-30 09:40:32 | [Mutex] waiting for: [received:nodes:d04345c6-2914-4eea-a9ff-935a70ec77b1:localhost]

2022-12-30 09:40:32 | [Mutex] waiting for: [received:nodes:d04345c6-2914-4eea-a9ff-935a70ec77b1:localhost]

2022-12-30 09:40:32 | [Mutex] waiting for: [received:nodes:d04345c6-2914-4eea-a9ff-935a70ec77b1:localhost]

2022-12-30 09:40:32 | [Mutex] waiting for: [received:nodes:d04345c6-2914-4eea-a9ff-935a70ec77b1:localhost]

2022-12-30 09:40:32 | [Mutex] received everything.

2022-12-30 09:40:32 | [Mutex] isItemNotified: received:node:d04345c6-2914-4eea-a9ff-935a70ec77b1:localhost:node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7:Node 871286cc-e3a1-4e64-b3b5-0bbb0a67cee7 :: false

createNodes 1.452s
2022-12-30 09:40:28 |

2022-12-30 09:40:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:28 | ------------------------------------

2022-12-30 09:40:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 871286cc-e3a1-4e64-b3b5-0bbb0a67cee7</title></pubsub></data>

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

2022-12-30 09:40:30 | [Mutex] waiting for: [received:nodes:bc51c229-6174-471d-bea8-0563ac785984:localhost]

2022-12-30 09:40:30 | [Mutex] waiting for: [received:nodes:bc51c229-6174-471d-bea8-0563ac785984:localhost]

2022-12-30 09:40:30 | [Mutex] waiting for: [received:nodes:bc51c229-6174-471d-bea8-0563ac785984:localhost]

2022-12-30 09:40:30 | [Mutex] received everything.

2022-12-30 09:40:30 | [Mutex] isItemNotified: received:node:bc51c229-6174-471d-bea8-0563ac785984:localhost:node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7:Node 871286cc-e3a1-4e64-b3b5-0bbb0a67cee7 :: true

createSubnodes 1.029s
2022-12-30 09:40:30 |

2022-12-30 09:40:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:30 | ------------------------------------

2022-12-30 09:40:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4eb4768c-9d58-43d0-9727-aad62084608f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4eb4768c-9d58-43d0-9727-aad62084608f</title></pubsub></data>

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

2022-12-30 09:40:31 | [Mutex] waiting for: [received:nodes:7f7f1539-463f-45a6-9d38-71b5fe56fdb1:localhost]

2022-12-30 09:40:31 | [Mutex] received everything.

2022-12-30 09:40:31 | [Mutex] isItemNotified: received:node:7f7f1539-463f-45a6-9d38-71b5fe56fdb1:localhost:node-4eb4768c-9d58-43d0-9727-aad62084608f:Node 4eb4768c-9d58-43d0-9727-aad62084608f :: true

deleteNodes 1.023s
2022-12-30 09:40:36 |

2022-12-30 09:40:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:36 | ------------------------------------

2022-12-30 09:40:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4eb4768c-9d58-43d0-9727-aad62084608f</node></data>

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

2022-12-30 09:40:37 | [Mutex] waiting for: [received:nodes:8c500146-8cc5-4cc7-a945-cb73abc74e29:localhost]

2022-12-30 09:40:37 | [Mutex] waiting for: [received:nodes:8c500146-8cc5-4cc7-a945-cb73abc74e29:localhost]

2022-12-30 09:40:37 | [Mutex] waiting for: [received:nodes:8c500146-8cc5-4cc7-a945-cb73abc74e29:localhost]

2022-12-30 09:40:37 | [Mutex] received everything.

2022-12-30 09:40:37 | [Mutex] isItemNotified: received:node:8c500146-8cc5-4cc7-a945-cb73abc74e29:localhost:node-4eb4768c-9d58-43d0-9727-aad62084608f:Node 4eb4768c-9d58-43d0-9727-aad62084608f :: false

deleteSubnodes 1.122s
2022-12-30 09:40:35 |

2022-12-30 09:40:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:35 | ------------------------------------

2022-12-30 09:40:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7</node></data>

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

2022-12-30 09:40:36 | [Mutex] waiting for: [received:nodes:2e275aa3-6e2e-4f53-a789-9e10c5097bea:localhost]

2022-12-30 09:40:36 | [Mutex] waiting for: [received:nodes:2e275aa3-6e2e-4f53-a789-9e10c5097bea:localhost]

2022-12-30 09:40:36 | [Mutex] waiting for: [received:nodes:2e275aa3-6e2e-4f53-a789-9e10c5097bea:localhost]

2022-12-30 09:40:36 | [Mutex] received everything.

2022-12-30 09:40:36 | [Mutex] isItemNotified: received:node:2e275aa3-6e2e-4f53-a789-9e10c5097bea:localhost:node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7:Node 871286cc-e3a1-4e64-b3b5-0bbb0a67cee7 :: false

2022-12-30 09:40:36 | [Mutex] waiting for: [received:nodes:a3c612c4-3fc5-48cc-8465-244c049d8e61:localhost]

2022-12-30 09:40:36 | [Mutex] received everything.

2022-12-30 09:40:36 | [Mutex] isItemNotified: received:node:a3c612c4-3fc5-48cc-8465-244c049d8e61:localhost:node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7:Node 871286cc-e3a1-4e64-b3b5-0bbb0a67cee7 :: false

publishItemsToNodes 0.212s
2022-12-30 09:40:33 |

2022-12-30 09:40:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:33 | ------------------------------------

2022-12-30 09:40:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7</node><item-id>item-d02fd1e0-f1f2-4b74-9eff-8d29e734b480</item-id><entry><test>item-d02fd1e0-f1f2-4b74-9eff-8d29e734b480</test></entry></data>

2022-12-30 09:40:33 | 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-d02fd1e0-f1f2-4b74-9eff-8d29e734b480</value></item-id></result>

2022-12-30 09:40:33 | [Mutex] waiting for: [published:item:notifieditem-d02fd1e0-f1f2-4b74-9eff-8d29e734b480:admin@test-domain.com]

2022-12-30 09:40:33 | [Mutex] received everything.

2022-12-30 09:40:33 | [Mutex] isItemNotified: published:item:notifieditem-d02fd1e0-f1f2-4b74-9eff-8d29e734b480:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-12-30 09:40:34 |

2022-12-30 09:40:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:34 | ------------------------------------

2022-12-30 09:40:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7</node><item-id>item-d02fd1e0-f1f2-4b74-9eff-8d29e734b480</item-id></data>

2022-12-30 09:40:34 | 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-d02fd1e0-f1f2-4b74-9eff-8d29e734b480</value></item-id></result>

2022-12-30 09:40:34 | [Mutex] received everything.

2022-12-30 09:40:34 | [Mutex] isItemNotified: retracted:item:notifieditem-d02fd1e0-f1f2-4b74-9eff-8d29e734b480:admin@test-domain.com :: true

retrieveItemsFromNodes 0.130s
2022-12-30 09:40:33 |

2022-12-30 09:40:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:33 | ------------------------------------

2022-12-30 09:40:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7</node><item-id>item-d02fd1e0-f1f2-4b74-9eff-8d29e734b480</item-id></data>

2022-12-30 09:40:33 | 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-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7</value></node><item-id label="Item ID" type="text-single"><value>item-d02fd1e0-f1f2-4b74-9eff-8d29e734b480</value></item-id><item label="Item" type="text-multi"><value><item id="item-d02fd1e0-f1f2-4b74-9eff-8d29e734b480"><test>item-d02fd1e0-f1f2-4b74-9eff-8d29e734b480</test></item></value></item></result>

2022-12-30 09:40:33 | [Mutex] notify: [retrieved:item:item-d02fd1e0-f1f2-4b74-9eff-8d29e734b480:payload-matches:true:localhost]

2022-12-30 09:40:33 | [Mutex] received everything.

2022-12-30 09:40:33 | [Mutex] isItemNotified: retrieved:item:item-d02fd1e0-f1f2-4b74-9eff-8d29e734b480:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-12-30 09:40:33 |

2022-12-30 09:40:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:33 | ------------------------------------

2022-12-30 09:40:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-30 09:40:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-4eb4768c-9d58-43d0-9727-aad62084608f</value><value>test</value><value>node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-12-30 09:40:34 |

2022-12-30 09:40:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:34 | ------------------------------------

2022-12-30 09:40:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7)</node-pattern></data>

2022-12-30 09:40:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.173s
2022-12-30 09:40:32 |

2022-12-30 09:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:32 | ------------------------------------

2022-12-30 09:40:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-30 09:40:32 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.215s
2022-12-30 09:40:34 |

2022-12-30 09:40:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:40:34 | ------------------------------------

2022-12-30 09:40:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-871286cc-e3a1-4e64-b3b5-0bbb0a67cee7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-30 09:40:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>