Generated by TestNG with ReportNG at 22:16 PDT on Tuesday 04 July 2023
root@8f5c98824654 / 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.347s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2023-07-04 22:30:34 |

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

2023-07-04 22:30:34 | ------------------------------------

2023-07-04 22:30:34 | [Mutex] waiting for: [configured:node:node-4409991f-c30a-4941-b561-592fd2dc9e83:node-3efddd34-11d0-4674-bc3e-7e763d9a2add]

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

2023-07-04 22:30:34 | [Mutex] isItemNotified: configured:node:node-4409991f-c30a-4941-b561-592fd2dc9e83:node-3efddd34-11d0-4674-bc3e-7e763d9a2add :: true

2023-07-04 22:30:35 | [Mutex] waiting for: [received:nodes:084178d3-68b3-4c2d-b863-db72df12d52f:localhost]

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

2023-07-04 22:30:35 | [Mutex] isItemNotified: received:node:084178d3-68b3-4c2d-b863-db72df12d52f:localhost:node-4409991f-c30a-4941-b561-592fd2dc9e83:Node 4409991f-c30a-4941-b561-592fd2dc9e83 :: true

2023-07-04 22:30:35 | [Mutex] waiting for: [received:nodes:ab9a9b0f-5b00-4cc1-8603-f8dc10789aa6:localhost]

2023-07-04 22:30:35 | [Mutex] waiting for: [received:nodes:ab9a9b0f-5b00-4cc1-8603-f8dc10789aa6:localhost]

2023-07-04 22:30:35 | [Mutex] waiting for: [received:nodes:ab9a9b0f-5b00-4cc1-8603-f8dc10789aa6:localhost]

2023-07-04 22:30:35 | [Mutex] waiting for: [received:nodes:ab9a9b0f-5b00-4cc1-8603-f8dc10789aa6:localhost]

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

2023-07-04 22:30:35 | [Mutex] isItemNotified: received:node:ab9a9b0f-5b00-4cc1-8603-f8dc10789aa6:localhost:node-4409991f-c30a-4941-b561-592fd2dc9e83:Node 4409991f-c30a-4941-b561-592fd2dc9e83 :: false

createNodes 1.413s
2023-07-04 22:30:32 |

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

2023-07-04 22:30:32 | ------------------------------------

2023-07-04 22:30:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4409991f-c30a-4941-b561-592fd2dc9e83</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4409991f-c30a-4941-b561-592fd2dc9e83</title></pubsub></data>

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

2023-07-04 22:30:33 | [Mutex] waiting for: [received:nodes:66b86ea1-8341-4e99-9c09-edac3c564035:localhost]

2023-07-04 22:30:33 | [Mutex] waiting for: [received:nodes:66b86ea1-8341-4e99-9c09-edac3c564035:localhost]

2023-07-04 22:30:33 | [Mutex] waiting for: [received:nodes:66b86ea1-8341-4e99-9c09-edac3c564035:localhost]

2023-07-04 22:30:33 | [Mutex] waiting for: [received:nodes:66b86ea1-8341-4e99-9c09-edac3c564035:localhost]

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

2023-07-04 22:30:33 | [Mutex] isItemNotified: received:node:66b86ea1-8341-4e99-9c09-edac3c564035:localhost:node-4409991f-c30a-4941-b561-592fd2dc9e83:Node 4409991f-c30a-4941-b561-592fd2dc9e83 :: true

createSubnodes 1.028s
2023-07-04 22:30:33 |

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

2023-07-04 22:30:33 | ------------------------------------

2023-07-04 22:30:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3efddd34-11d0-4674-bc3e-7e763d9a2add</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3efddd34-11d0-4674-bc3e-7e763d9a2add</title></pubsub></data>

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

2023-07-04 22:30:34 | [Mutex] waiting for: [received:nodes:b9dce1a7-2840-46a5-9221-0b587346825b:localhost]

2023-07-04 22:30:34 | [Mutex] waiting for: [received:nodes:b9dce1a7-2840-46a5-9221-0b587346825b:localhost]

2023-07-04 22:30:34 | [Mutex] waiting for: [received:nodes:b9dce1a7-2840-46a5-9221-0b587346825b:localhost]

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

2023-07-04 22:30:34 | [Mutex] isItemNotified: received:node:b9dce1a7-2840-46a5-9221-0b587346825b:localhost:node-3efddd34-11d0-4674-bc3e-7e763d9a2add:Node 3efddd34-11d0-4674-bc3e-7e763d9a2add :: true

deleteNodes 1.016s
2023-07-04 22:30:40 |

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

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

2023-07-04 22:30:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3efddd34-11d0-4674-bc3e-7e763d9a2add</node></data>

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

2023-07-04 22:30:41 | [Mutex] waiting for: [received:nodes:5e77d8fb-e4ad-419b-be94-af52c61e0f92:localhost]

2023-07-04 22:30:41 | [Mutex] waiting for: [received:nodes:5e77d8fb-e4ad-419b-be94-af52c61e0f92:localhost]

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

2023-07-04 22:30:41 | [Mutex] isItemNotified: received:node:5e77d8fb-e4ad-419b-be94-af52c61e0f92:localhost:node-3efddd34-11d0-4674-bc3e-7e763d9a2add:Node 3efddd34-11d0-4674-bc3e-7e763d9a2add :: false

deleteSubnodes 1.106s
2023-07-04 22:30:39 |

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

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

2023-07-04 22:30:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4409991f-c30a-4941-b561-592fd2dc9e83</node></data>

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

2023-07-04 22:30:40 | [Mutex] waiting for: [received:nodes:c443db03-4c80-4587-b171-d771b56f32f9:localhost]

2023-07-04 22:30:40 | [Mutex] waiting for: [received:nodes:c443db03-4c80-4587-b171-d771b56f32f9:localhost]

2023-07-04 22:30:40 | [Mutex] waiting for: [received:nodes:c443db03-4c80-4587-b171-d771b56f32f9:localhost]

2023-07-04 22:30:40 | [Mutex] waiting for: [received:nodes:c443db03-4c80-4587-b171-d771b56f32f9:localhost]

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

2023-07-04 22:30:40 | [Mutex] isItemNotified: received:node:c443db03-4c80-4587-b171-d771b56f32f9:localhost:node-4409991f-c30a-4941-b561-592fd2dc9e83:Node 4409991f-c30a-4941-b561-592fd2dc9e83 :: false

2023-07-04 22:30:40 | [Mutex] waiting for: [received:nodes:a7e88238-d457-424b-be97-7e208d0a7892:localhost]

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

2023-07-04 22:30:40 | [Mutex] isItemNotified: received:node:a7e88238-d457-424b-be97-7e208d0a7892:localhost:node-4409991f-c30a-4941-b561-592fd2dc9e83:Node 4409991f-c30a-4941-b561-592fd2dc9e83 :: false

publishItemsToNodes 0.232s
2023-07-04 22:30:37 |

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

2023-07-04 22:30:37 | ------------------------------------

2023-07-04 22:30:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4409991f-c30a-4941-b561-592fd2dc9e83</node><item-id>item-dabbc1e2-2026-4aff-aad2-56078f039c8d</item-id><entry><test>item-dabbc1e2-2026-4aff-aad2-56078f039c8d</test></entry></data>

2023-07-04 22:30:37 | 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-dabbc1e2-2026-4aff-aad2-56078f039c8d</value></item-id></result>

2023-07-04 22:30:37 | [Mutex] waiting for: [published:item:notifieditem-dabbc1e2-2026-4aff-aad2-56078f039c8d:admin@test-domain.com]

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

2023-07-04 22:30:37 | [Mutex] isItemNotified: published:item:notifieditem-dabbc1e2-2026-4aff-aad2-56078f039c8d:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2023-07-04 22:30:37 |

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

2023-07-04 22:30:37 | ------------------------------------

2023-07-04 22:30:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4409991f-c30a-4941-b561-592fd2dc9e83</node><item-id>item-dabbc1e2-2026-4aff-aad2-56078f039c8d</item-id></data>

2023-07-04 22:30:37 | 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-dabbc1e2-2026-4aff-aad2-56078f039c8d</value></item-id></result>

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

2023-07-04 22:30:37 | [Mutex] isItemNotified: retracted:item:notifieditem-dabbc1e2-2026-4aff-aad2-56078f039c8d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.164s
2023-07-04 22:30:37 |

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

2023-07-04 22:30:37 | ------------------------------------

2023-07-04 22:30:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4409991f-c30a-4941-b561-592fd2dc9e83</node><item-id>item-dabbc1e2-2026-4aff-aad2-56078f039c8d</item-id></data>

2023-07-04 22:30:37 | 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-4409991f-c30a-4941-b561-592fd2dc9e83</value></node><item-id label="Item ID" type="text-single"><value>item-dabbc1e2-2026-4aff-aad2-56078f039c8d</value></item-id><item label="Item" type="text-multi"><value><item id="item-dabbc1e2-2026-4aff-aad2-56078f039c8d"><test>item-dabbc1e2-2026-4aff-aad2-56078f039c8d</test></item></value></item></result>

2023-07-04 22:30:37 | [Mutex] notify: [retrieved:item:item-dabbc1e2-2026-4aff-aad2-56078f039c8d:payload-matches:true:localhost]

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

2023-07-04 22:30:37 | [Mutex] isItemNotified: retrieved:item:item-dabbc1e2-2026-4aff-aad2-56078f039c8d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-07-04 22:30:37 |

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

2023-07-04 22:30:37 | ------------------------------------

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

2023-07-04 22:30:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-3efddd34-11d0-4674-bc3e-7e763d9a2add</value><value>test</value><value>node-4409991f-c30a-4941-b561-592fd2dc9e83</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-04 22:30:37 |

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

2023-07-04 22:30:37 | ------------------------------------

2023-07-04 22:30:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4409991f-c30a-4941-b561-592fd2dc9e83)</node-pattern></data>

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

subscribeNodes 1.135s
2023-07-04 22:30:35 |

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

2023-07-04 22:30:35 | ------------------------------------

2023-07-04 22:30:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4409991f-c30a-4941-b561-592fd2dc9e83</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-04 22:30: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.203s
2023-07-04 22:30:37 |

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

2023-07-04 22:30:37 | ------------------------------------

2023-07-04 22:30:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4409991f-c30a-4941-b561-592fd2dc9e83</node><jids><value>admin@test-domain.com</value></jids></data>

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