Generated by TestNG with ReportNG at 22:45 PDT on Monday 29 May 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.455s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2023-05-29 22:59:35 |

2023-05-29 22:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:35 | ------------------------------------

2023-05-29 22:59:35 | [Mutex] waiting for: [configured:node:node-36ffd320-5192-45db-bff4-772e6fd61b2d:node-e096110c-3386-4f22-911a-0b4181592671]

2023-05-29 22:59:35 | [Mutex] received everything.

2023-05-29 22:59:35 | [Mutex] isItemNotified: configured:node:node-36ffd320-5192-45db-bff4-772e6fd61b2d:node-e096110c-3386-4f22-911a-0b4181592671 :: true

2023-05-29 22:59:36 | [Mutex] waiting for: [received:nodes:3cd93e9f-7ae9-4eca-aa2a-f19f5a58c0b3:localhost]

2023-05-29 22:59:36 | [Mutex] received everything.

2023-05-29 22:59:36 | [Mutex] isItemNotified: received:node:3cd93e9f-7ae9-4eca-aa2a-f19f5a58c0b3:localhost:node-36ffd320-5192-45db-bff4-772e6fd61b2d:Node 36ffd320-5192-45db-bff4-772e6fd61b2d :: true

2023-05-29 22:59:36 | [Mutex] waiting for: [received:nodes:0a3ca58d-1173-4d71-9f0e-aafdec1d51ef:localhost]

2023-05-29 22:59:36 | [Mutex] waiting for: [received:nodes:0a3ca58d-1173-4d71-9f0e-aafdec1d51ef:localhost]

2023-05-29 22:59:36 | [Mutex] waiting for: [received:nodes:0a3ca58d-1173-4d71-9f0e-aafdec1d51ef:localhost]

2023-05-29 22:59:36 | [Mutex] waiting for: [received:nodes:0a3ca58d-1173-4d71-9f0e-aafdec1d51ef:localhost]

2023-05-29 22:59:36 | [Mutex] received everything.

2023-05-29 22:59:36 | [Mutex] isItemNotified: received:node:0a3ca58d-1173-4d71-9f0e-aafdec1d51ef:localhost:node-36ffd320-5192-45db-bff4-772e6fd61b2d:Node 36ffd320-5192-45db-bff4-772e6fd61b2d :: false

createNodes 1.400s
2023-05-29 22:59:33 |

2023-05-29 22:59:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:33 | ------------------------------------

2023-05-29 22:59:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-36ffd320-5192-45db-bff4-772e6fd61b2d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 36ffd320-5192-45db-bff4-772e6fd61b2d</title></pubsub></data>

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

2023-05-29 22:59:34 | [Mutex] waiting for: [received:nodes:0e52fe84-1aee-448f-aab1-cee221cf2b90:localhost]

2023-05-29 22:59:34 | [Mutex] waiting for: [received:nodes:0e52fe84-1aee-448f-aab1-cee221cf2b90:localhost]

2023-05-29 22:59:34 | [Mutex] waiting for: [received:nodes:0e52fe84-1aee-448f-aab1-cee221cf2b90:localhost]

2023-05-29 22:59:34 | [Mutex] waiting for: [received:nodes:0e52fe84-1aee-448f-aab1-cee221cf2b90:localhost]

2023-05-29 22:59:34 | [Mutex] received everything.

2023-05-29 22:59:34 | [Mutex] isItemNotified: received:node:0e52fe84-1aee-448f-aab1-cee221cf2b90:localhost:node-36ffd320-5192-45db-bff4-772e6fd61b2d:Node 36ffd320-5192-45db-bff4-772e6fd61b2d :: true

createSubnodes 1.020s
2023-05-29 22:59:34 |

2023-05-29 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:34 | ------------------------------------

2023-05-29 22:59:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e096110c-3386-4f22-911a-0b4181592671</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e096110c-3386-4f22-911a-0b4181592671</title></pubsub></data>

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

2023-05-29 22:59:35 | [Mutex] waiting for: [received:nodes:0be7d03a-f8c6-47e7-87d1-df2f873efd47:localhost]

2023-05-29 22:59:35 | [Mutex] waiting for: [received:nodes:0be7d03a-f8c6-47e7-87d1-df2f873efd47:localhost]

2023-05-29 22:59:35 | [Mutex] waiting for: [received:nodes:0be7d03a-f8c6-47e7-87d1-df2f873efd47:localhost]

2023-05-29 22:59:35 | [Mutex] waiting for: [received:nodes:0be7d03a-f8c6-47e7-87d1-df2f873efd47:localhost]

2023-05-29 22:59:35 | [Mutex] received everything.

2023-05-29 22:59:35 | [Mutex] isItemNotified: received:node:0be7d03a-f8c6-47e7-87d1-df2f873efd47:localhost:node-e096110c-3386-4f22-911a-0b4181592671:Node e096110c-3386-4f22-911a-0b4181592671 :: true

deleteNodes 1.019s
2023-05-29 22:59:40 |

2023-05-29 22:59:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:40 | ------------------------------------

2023-05-29 22:59:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e096110c-3386-4f22-911a-0b4181592671</node></data>

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

2023-05-29 22:59:41 | [Mutex] waiting for: [received:nodes:768c8040-6724-4f0b-b762-249daf68229f:localhost]

2023-05-29 22:59:41 | [Mutex] waiting for: [received:nodes:768c8040-6724-4f0b-b762-249daf68229f:localhost]

2023-05-29 22:59:41 | [Mutex] waiting for: [received:nodes:768c8040-6724-4f0b-b762-249daf68229f:localhost]

2023-05-29 22:59:41 | [Mutex] received everything.

2023-05-29 22:59:41 | [Mutex] isItemNotified: received:node:768c8040-6724-4f0b-b762-249daf68229f:localhost:node-e096110c-3386-4f22-911a-0b4181592671:Node e096110c-3386-4f22-911a-0b4181592671 :: false

deleteSubnodes 1.205s
2023-05-29 22:59:39 |

2023-05-29 22:59:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:39 | ------------------------------------

2023-05-29 22:59:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-36ffd320-5192-45db-bff4-772e6fd61b2d</node></data>

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

2023-05-29 22:59:40 | [Mutex] waiting for: [received:nodes:f28b5131-2864-4508-9190-50c97dcdea3a:localhost]

2023-05-29 22:59:40 | [Mutex] waiting for: [received:nodes:f28b5131-2864-4508-9190-50c97dcdea3a:localhost]

2023-05-29 22:59:40 | [Mutex] waiting for: [received:nodes:f28b5131-2864-4508-9190-50c97dcdea3a:localhost]

2023-05-29 22:59:40 | [Mutex] received everything.

2023-05-29 22:59:40 | [Mutex] isItemNotified: received:node:f28b5131-2864-4508-9190-50c97dcdea3a:localhost:node-36ffd320-5192-45db-bff4-772e6fd61b2d:Node 36ffd320-5192-45db-bff4-772e6fd61b2d :: false

2023-05-29 22:59:40 | [Mutex] waiting for: [received:nodes:7432dcbe-5fe9-4522-a753-feb5ee8a7e5c:localhost]

2023-05-29 22:59:40 | [Mutex] received everything.

2023-05-29 22:59:40 | [Mutex] isItemNotified: received:node:7432dcbe-5fe9-4522-a753-feb5ee8a7e5c:localhost:node-36ffd320-5192-45db-bff4-772e6fd61b2d:Node 36ffd320-5192-45db-bff4-772e6fd61b2d :: false

publishItemsToNodes 0.199s
2023-05-29 22:59:37 |

2023-05-29 22:59:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:37 | ------------------------------------

2023-05-29 22:59:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-36ffd320-5192-45db-bff4-772e6fd61b2d</node><item-id>item-b790cd83-aa1d-4caa-91f5-990cc754faee</item-id><entry><test>item-b790cd83-aa1d-4caa-91f5-990cc754faee</test></entry></data>

2023-05-29 22:59:37 | 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-b790cd83-aa1d-4caa-91f5-990cc754faee</value></item-id></result>

2023-05-29 22:59:37 | [Mutex] received everything.

2023-05-29 22:59:37 | [Mutex] isItemNotified: published:item:notifieditem-b790cd83-aa1d-4caa-91f5-990cc754faee:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2023-05-29 22:59:38 |

2023-05-29 22:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:38 | ------------------------------------

2023-05-29 22:59:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-36ffd320-5192-45db-bff4-772e6fd61b2d</node><item-id>item-b790cd83-aa1d-4caa-91f5-990cc754faee</item-id></data>

2023-05-29 22:59:38 | 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-b790cd83-aa1d-4caa-91f5-990cc754faee</value></item-id></result>

2023-05-29 22:59:38 | [Mutex] received everything.

2023-05-29 22:59:38 | [Mutex] isItemNotified: retracted:item:notifieditem-b790cd83-aa1d-4caa-91f5-990cc754faee:admin@test-domain.com :: true

retrieveItemsFromNodes 0.244s
2023-05-29 22:59:37 |

2023-05-29 22:59:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:37 | ------------------------------------

2023-05-29 22:59:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-36ffd320-5192-45db-bff4-772e6fd61b2d</node><item-id>item-b790cd83-aa1d-4caa-91f5-990cc754faee</item-id></data>

2023-05-29 22:59:38 | 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-36ffd320-5192-45db-bff4-772e6fd61b2d</value></node><item-id type="text-single" label="Item ID"><value>item-b790cd83-aa1d-4caa-91f5-990cc754faee</value></item-id><item type="text-multi" label="Item"><value><item id="item-b790cd83-aa1d-4caa-91f5-990cc754faee"><test>item-b790cd83-aa1d-4caa-91f5-990cc754faee</test></item></value></item></result>

2023-05-29 22:59:38 | [Mutex] notify: [retrieved:item:item-b790cd83-aa1d-4caa-91f5-990cc754faee:payload-matches:true:localhost]

2023-05-29 22:59:38 | [Mutex] received everything.

2023-05-29 22:59:38 | [Mutex] isItemNotified: retrieved:item:item-b790cd83-aa1d-4caa-91f5-990cc754faee:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-05-29 22:59:38 |

2023-05-29 22:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:38 | ------------------------------------

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

2023-05-29 22:59:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-e096110c-3386-4f22-911a-0b4181592671</value><value>test</value><value>node-36ffd320-5192-45db-bff4-772e6fd61b2d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-05-29 22:59:38 |

2023-05-29 22:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:38 | ------------------------------------

2023-05-29 22:59:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-36ffd320-5192-45db-bff4-772e6fd61b2d)</node-pattern></data>

2023-05-29 22:59:38 | 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-05-29 22:59:36 |

2023-05-29 22:59:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:36 | ------------------------------------

2023-05-29 22:59:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-36ffd320-5192-45db-bff4-772e6fd61b2d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.175s
2023-05-29 22:59:38 |

2023-05-29 22:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:59:38 | ------------------------------------

2023-05-29 22:59:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-36ffd320-5192-45db-bff4-772e6fd61b2d</node><jids><value>admin@test-domain.com</value></jids></data>

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