Generated by TestNG with ReportNG at 22:16 PDT on Sunday 26 March 2023
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.237s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.082s
2023-03-26 22:30:26 |

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

2023-03-26 22:30:26 | ------------------------------------

2023-03-26 22:30:26 | [Mutex] waiting for: [configured:node:node-e2348d3f-b441-4073-a4e2-f50cc0c94565:node-84073975-c08f-485d-bb9c-6932d443a726]

2023-03-26 22:30:27 | [Mutex] received everything.

2023-03-26 22:30:27 | [Mutex] isItemNotified: configured:node:node-e2348d3f-b441-4073-a4e2-f50cc0c94565:node-84073975-c08f-485d-bb9c-6932d443a726 :: true

2023-03-26 22:30:28 | [Mutex] waiting for: [received:nodes:aae23cc4-ee42-4756-9a36-6ee8b3f2b563:localhost]

2023-03-26 22:30:28 | [Mutex] received everything.

2023-03-26 22:30:28 | [Mutex] isItemNotified: received:node:aae23cc4-ee42-4756-9a36-6ee8b3f2b563:localhost:node-e2348d3f-b441-4073-a4e2-f50cc0c94565:Node e2348d3f-b441-4073-a4e2-f50cc0c94565 :: true

2023-03-26 22:30:28 | [Mutex] waiting for: [received:nodes:10911fc3-563a-4ce2-bf57-09920c48d88f:localhost]

2023-03-26 22:30:28 | [Mutex] received everything.

2023-03-26 22:30:28 | [Mutex] isItemNotified: received:node:10911fc3-563a-4ce2-bf57-09920c48d88f:localhost:node-e2348d3f-b441-4073-a4e2-f50cc0c94565:Node e2348d3f-b441-4073-a4e2-f50cc0c94565 :: false

createNodes 1.372s
2023-03-26 22:30:24 |

2023-03-26 22:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:24 | ------------------------------------

2023-03-26 22:30:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e2348d3f-b441-4073-a4e2-f50cc0c94565</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e2348d3f-b441-4073-a4e2-f50cc0c94565</title></pubsub></data>

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

2023-03-26 22:30:25 | [Mutex] waiting for: [received:nodes:8b33377a-2c55-4c65-9a89-c1f93df62a95:localhost]

2023-03-26 22:30:25 | [Mutex] waiting for: [received:nodes:8b33377a-2c55-4c65-9a89-c1f93df62a95:localhost]

2023-03-26 22:30:25 | [Mutex] waiting for: [received:nodes:8b33377a-2c55-4c65-9a89-c1f93df62a95:localhost]

2023-03-26 22:30:25 | [Mutex] waiting for: [received:nodes:8b33377a-2c55-4c65-9a89-c1f93df62a95:localhost]

2023-03-26 22:30:25 | [Mutex] received everything.

2023-03-26 22:30:25 | [Mutex] isItemNotified: received:node:8b33377a-2c55-4c65-9a89-c1f93df62a95:localhost:node-e2348d3f-b441-4073-a4e2-f50cc0c94565:Node e2348d3f-b441-4073-a4e2-f50cc0c94565 :: true

createSubnodes 1.026s
2023-03-26 22:30:25 |

2023-03-26 22:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:25 | ------------------------------------

2023-03-26 22:30:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-84073975-c08f-485d-bb9c-6932d443a726</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 84073975-c08f-485d-bb9c-6932d443a726</title></pubsub></data>

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

2023-03-26 22:30:26 | [Mutex] waiting for: [received:nodes:080390da-c05c-4052-80f9-a8a9c71aba31:localhost]

2023-03-26 22:30:26 | [Mutex] waiting for: [received:nodes:080390da-c05c-4052-80f9-a8a9c71aba31:localhost]

2023-03-26 22:30:26 | [Mutex] waiting for: [received:nodes:080390da-c05c-4052-80f9-a8a9c71aba31:localhost]

2023-03-26 22:30:26 | [Mutex] waiting for: [received:nodes:080390da-c05c-4052-80f9-a8a9c71aba31:localhost]

2023-03-26 22:30:26 | [Mutex] received everything.

2023-03-26 22:30:26 | [Mutex] isItemNotified: received:node:080390da-c05c-4052-80f9-a8a9c71aba31:localhost:node-84073975-c08f-485d-bb9c-6932d443a726:Node 84073975-c08f-485d-bb9c-6932d443a726 :: true

deleteNodes 1.018s
2023-03-26 22:30:32 |

2023-03-26 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:32 | ------------------------------------

2023-03-26 22:30:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-84073975-c08f-485d-bb9c-6932d443a726</node></data>

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

2023-03-26 22:30:33 | [Mutex] waiting for: [received:nodes:61cb53d8-04f9-427c-bf9f-5b7be16b0918:localhost]

2023-03-26 22:30:33 | [Mutex] received everything.

2023-03-26 22:30:33 | [Mutex] isItemNotified: received:node:61cb53d8-04f9-427c-bf9f-5b7be16b0918:localhost:node-84073975-c08f-485d-bb9c-6932d443a726:Node 84073975-c08f-485d-bb9c-6932d443a726 :: false

deleteSubnodes 1.173s
2023-03-26 22:30:31 |

2023-03-26 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:31 | ------------------------------------

2023-03-26 22:30:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e2348d3f-b441-4073-a4e2-f50cc0c94565</node></data>

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

2023-03-26 22:30:32 | [Mutex] waiting for: [received:nodes:ddc19b0a-5979-4f1b-ad8e-de6e8231e93a:localhost]

2023-03-26 22:30:32 | [Mutex] received everything.

2023-03-26 22:30:32 | [Mutex] isItemNotified: received:node:ddc19b0a-5979-4f1b-ad8e-de6e8231e93a:localhost:node-e2348d3f-b441-4073-a4e2-f50cc0c94565:Node e2348d3f-b441-4073-a4e2-f50cc0c94565 :: false

2023-03-26 22:30:32 | [Mutex] waiting for: [received:nodes:f56d4fee-10a5-4b53-a1ed-b69e19055369:localhost]

2023-03-26 22:30:32 | [Mutex] received everything.

2023-03-26 22:30:32 | [Mutex] isItemNotified: received:node:f56d4fee-10a5-4b53-a1ed-b69e19055369:localhost:node-e2348d3f-b441-4073-a4e2-f50cc0c94565:Node e2348d3f-b441-4073-a4e2-f50cc0c94565 :: false

publishItemsToNodes 0.178s
2023-03-26 22:30:29 |

2023-03-26 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:29 | ------------------------------------

2023-03-26 22:30:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e2348d3f-b441-4073-a4e2-f50cc0c94565</node><item-id>item-5112d2ae-a719-4643-9fe4-7c9dfb378b82</item-id><entry><test>item-5112d2ae-a719-4643-9fe4-7c9dfb378b82</test></entry></data>

2023-03-26 22:30:29 | 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-5112d2ae-a719-4643-9fe4-7c9dfb378b82</value></item-id></result>

2023-03-26 22:30:29 | [Mutex] received everything.

2023-03-26 22:30:29 | [Mutex] isItemNotified: published:item:notifieditem-5112d2ae-a719-4643-9fe4-7c9dfb378b82:admin@test-domain.com :: true

retractItemsFromNodes 0.204s
2023-03-26 22:30:29 |

2023-03-26 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:29 | ------------------------------------

2023-03-26 22:30:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e2348d3f-b441-4073-a4e2-f50cc0c94565</node><item-id>item-5112d2ae-a719-4643-9fe4-7c9dfb378b82</item-id></data>

2023-03-26 22:30:29 | 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-5112d2ae-a719-4643-9fe4-7c9dfb378b82</value></item-id></result>

2023-03-26 22:30:29 | [Mutex] received everything.

2023-03-26 22:30:29 | [Mutex] isItemNotified: retracted:item:notifieditem-5112d2ae-a719-4643-9fe4-7c9dfb378b82:admin@test-domain.com :: true

retrieveItemsFromNodes 0.168s
2023-03-26 22:30:29 |

2023-03-26 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:29 | ------------------------------------

2023-03-26 22:30:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e2348d3f-b441-4073-a4e2-f50cc0c94565</node><item-id>item-5112d2ae-a719-4643-9fe4-7c9dfb378b82</item-id></data>

2023-03-26 22:30:29 | 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-e2348d3f-b441-4073-a4e2-f50cc0c94565</value></node><item-id label="Item ID" type="text-single"><value>item-5112d2ae-a719-4643-9fe4-7c9dfb378b82</value></item-id><item label="Item" type="text-multi"><value><item id="item-5112d2ae-a719-4643-9fe4-7c9dfb378b82"><test>item-5112d2ae-a719-4643-9fe4-7c9dfb378b82</test></item></value></item></result>

2023-03-26 22:30:29 | [Mutex] notify: [retrieved:item:item-5112d2ae-a719-4643-9fe4-7c9dfb378b82:payload-matches:true:localhost]

2023-03-26 22:30:29 | [Mutex] received everything.

2023-03-26 22:30:29 | [Mutex] isItemNotified: retrieved:item:item-5112d2ae-a719-4643-9fe4-7c9dfb378b82:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-26 22:30:29 |

2023-03-26 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:29 | ------------------------------------

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

2023-03-26 22:30:29 | 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-e2348d3f-b441-4073-a4e2-f50cc0c94565</value><value>node-84073975-c08f-485d-bb9c-6932d443a726</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-26 22:30:29 |

2023-03-26 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:29 | ------------------------------------

2023-03-26 22:30:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e2348d3f-b441-4073-a4e2-f50cc0c94565)</node-pattern></data>

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

subscribeNodes 1.111s
2023-03-26 22:30:28 |

2023-03-26 22:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:28 | ------------------------------------

2023-03-26 22:30:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e2348d3f-b441-4073-a4e2-f50cc0c94565</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.222s
2023-03-26 22:30:29 |

2023-03-26 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:29 | ------------------------------------

2023-03-26 22:30:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e2348d3f-b441-4073-a4e2-f50cc0c94565</node><jids><value>admin@test-domain.com</value></jids></data>

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