Generated by TestNG with ReportNG at 21:15 PST on Wednesday 01 February 2023
root@f9c07ffec79b / 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.352s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.074s
2023-02-01 21:31:50 |

2023-02-01 21:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:50 | ------------------------------------

2023-02-01 21:31:50 | [Mutex] waiting for: [configured:node:node-9d49f2b1-1d05-4c0b-8364-4636aa080f75:node-92cc4cd4-acb8-4f65-b737-245805a98576]

2023-02-01 21:31:50 | [Mutex] received everything.

2023-02-01 21:31:50 | [Mutex] isItemNotified: configured:node:node-9d49f2b1-1d05-4c0b-8364-4636aa080f75:node-92cc4cd4-acb8-4f65-b737-245805a98576 :: true

2023-02-01 21:31:51 | [Mutex] waiting for: [received:nodes:d322c060-e5bf-4785-acbb-7cf2ba6de772:localhost]

2023-02-01 21:31:51 | [Mutex] received everything.

2023-02-01 21:31:51 | [Mutex] isItemNotified: received:node:d322c060-e5bf-4785-acbb-7cf2ba6de772:localhost:node-9d49f2b1-1d05-4c0b-8364-4636aa080f75:Node 9d49f2b1-1d05-4c0b-8364-4636aa080f75 :: true

2023-02-01 21:31:51 | [Mutex] waiting for: [received:nodes:e04d7e0c-6a40-47f9-9225-390a5899972d:localhost]

2023-02-01 21:31:51 | [Mutex] waiting for: [received:nodes:e04d7e0c-6a40-47f9-9225-390a5899972d:localhost]

2023-02-01 21:31:51 | [Mutex] waiting for: [received:nodes:e04d7e0c-6a40-47f9-9225-390a5899972d:localhost]

2023-02-01 21:31:51 | [Mutex] received everything.

2023-02-01 21:31:51 | [Mutex] isItemNotified: received:node:e04d7e0c-6a40-47f9-9225-390a5899972d:localhost:node-9d49f2b1-1d05-4c0b-8364-4636aa080f75:Node 9d49f2b1-1d05-4c0b-8364-4636aa080f75 :: false

createNodes 1.370s
2023-02-01 21:31:48 |

2023-02-01 21:31:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:48 | ------------------------------------

2023-02-01 21:31:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9d49f2b1-1d05-4c0b-8364-4636aa080f75</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9d49f2b1-1d05-4c0b-8364-4636aa080f75</title></pubsub></data>

2023-02-01 21:31:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-01 21:31:49 | [Mutex] waiting for: [received:nodes:3069149d-83fb-4c3d-91ab-130b7baf4c2e:localhost]

2023-02-01 21:31:49 | [Mutex] waiting for: [received:nodes:3069149d-83fb-4c3d-91ab-130b7baf4c2e:localhost]

2023-02-01 21:31:49 | [Mutex] waiting for: [received:nodes:3069149d-83fb-4c3d-91ab-130b7baf4c2e:localhost]

2023-02-01 21:31:49 | [Mutex] waiting for: [received:nodes:3069149d-83fb-4c3d-91ab-130b7baf4c2e:localhost]

2023-02-01 21:31:49 | [Mutex] received everything.

2023-02-01 21:31:49 | [Mutex] isItemNotified: received:node:3069149d-83fb-4c3d-91ab-130b7baf4c2e:localhost:node-9d49f2b1-1d05-4c0b-8364-4636aa080f75:Node 9d49f2b1-1d05-4c0b-8364-4636aa080f75 :: true

createSubnodes 1.025s
2023-02-01 21:31:49 |

2023-02-01 21:31:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:49 | ------------------------------------

2023-02-01 21:31:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-92cc4cd4-acb8-4f65-b737-245805a98576</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 92cc4cd4-acb8-4f65-b737-245805a98576</title></pubsub></data>

2023-02-01 21:31:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-01 21:31:50 | [Mutex] waiting for: [received:nodes:703fb53e-0a8f-481a-b6a9-97b709fa6d2b:localhost]

2023-02-01 21:31:50 | [Mutex] waiting for: [received:nodes:703fb53e-0a8f-481a-b6a9-97b709fa6d2b:localhost]

2023-02-01 21:31:50 | [Mutex] received everything.

2023-02-01 21:31:50 | [Mutex] isItemNotified: received:node:703fb53e-0a8f-481a-b6a9-97b709fa6d2b:localhost:node-92cc4cd4-acb8-4f65-b737-245805a98576:Node 92cc4cd4-acb8-4f65-b737-245805a98576 :: true

deleteNodes 1.016s
2023-02-01 21:31:55 |

2023-02-01 21:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:55 | ------------------------------------

2023-02-01 21:31:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-92cc4cd4-acb8-4f65-b737-245805a98576</node></data>

2023-02-01 21:31:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-01 21:31:56 | [Mutex] waiting for: [received:nodes:cf0cdf4a-28d4-43cf-9628-f7ef8291d2df:localhost]

2023-02-01 21:31:56 | [Mutex] waiting for: [received:nodes:cf0cdf4a-28d4-43cf-9628-f7ef8291d2df:localhost]

2023-02-01 21:31:56 | [Mutex] received everything.

2023-02-01 21:31:56 | [Mutex] isItemNotified: received:node:cf0cdf4a-28d4-43cf-9628-f7ef8291d2df:localhost:node-92cc4cd4-acb8-4f65-b737-245805a98576:Node 92cc4cd4-acb8-4f65-b737-245805a98576 :: false

deleteSubnodes 1.108s
2023-02-01 21:31:54 |

2023-02-01 21:31:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:54 | ------------------------------------

2023-02-01 21:31:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9d49f2b1-1d05-4c0b-8364-4636aa080f75</node></data>

2023-02-01 21:31:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-01 21:31:55 | [Mutex] waiting for: [received:nodes:ad16695e-5731-4f36-b364-bd173d981d3c:localhost]

2023-02-01 21:31:55 | [Mutex] waiting for: [received:nodes:ad16695e-5731-4f36-b364-bd173d981d3c:localhost]

2023-02-01 21:31:55 | [Mutex] waiting for: [received:nodes:ad16695e-5731-4f36-b364-bd173d981d3c:localhost]

2023-02-01 21:31:55 | [Mutex] waiting for: [received:nodes:ad16695e-5731-4f36-b364-bd173d981d3c:localhost]

2023-02-01 21:31:55 | [Mutex] received everything.

2023-02-01 21:31:55 | [Mutex] isItemNotified: received:node:ad16695e-5731-4f36-b364-bd173d981d3c:localhost:node-9d49f2b1-1d05-4c0b-8364-4636aa080f75:Node 9d49f2b1-1d05-4c0b-8364-4636aa080f75 :: false

2023-02-01 21:31:55 | [Mutex] waiting for: [received:nodes:033471a5-c0c4-46e3-b5a7-233d64e618fc:localhost]

2023-02-01 21:31:55 | [Mutex] received everything.

2023-02-01 21:31:55 | [Mutex] isItemNotified: received:node:033471a5-c0c4-46e3-b5a7-233d64e618fc:localhost:node-9d49f2b1-1d05-4c0b-8364-4636aa080f75:Node 9d49f2b1-1d05-4c0b-8364-4636aa080f75 :: false

publishItemsToNodes 0.214s
2023-02-01 21:31:52 |

2023-02-01 21:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:52 | ------------------------------------

2023-02-01 21:31:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9d49f2b1-1d05-4c0b-8364-4636aa080f75</node><item-id>item-4ebfde28-ca62-4113-867e-e28b628216b1</item-id><entry><test>item-4ebfde28-ca62-4113-867e-e28b628216b1</test></entry></data>

2023-02-01 21:31:52 | 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-4ebfde28-ca62-4113-867e-e28b628216b1</value></item-id></result>

2023-02-01 21:31:52 | [Mutex] waiting for: [published:item:notifieditem-4ebfde28-ca62-4113-867e-e28b628216b1:admin@test-domain.com]

2023-02-01 21:31:52 | [Mutex] received everything.

2023-02-01 21:31:52 | [Mutex] isItemNotified: published:item:notifieditem-4ebfde28-ca62-4113-867e-e28b628216b1:admin@test-domain.com :: true

retractItemsFromNodes 0.252s
2023-02-01 21:31:53 |

2023-02-01 21:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:53 | ------------------------------------

2023-02-01 21:31:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9d49f2b1-1d05-4c0b-8364-4636aa080f75</node><item-id>item-4ebfde28-ca62-4113-867e-e28b628216b1</item-id></data>

2023-02-01 21:31:53 | 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-4ebfde28-ca62-4113-867e-e28b628216b1</value></item-id></result>

2023-02-01 21:31:53 | [Mutex] received everything.

2023-02-01 21:31:53 | [Mutex] isItemNotified: retracted:item:notifieditem-4ebfde28-ca62-4113-867e-e28b628216b1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.248s
2023-02-01 21:31:52 |

2023-02-01 21:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:52 | ------------------------------------

2023-02-01 21:31:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9d49f2b1-1d05-4c0b-8364-4636aa080f75</node><item-id>item-4ebfde28-ca62-4113-867e-e28b628216b1</item-id></data>

2023-02-01 21:31:53 | 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-9d49f2b1-1d05-4c0b-8364-4636aa080f75</value></node><item-id label="Item ID" type="text-single"><value>item-4ebfde28-ca62-4113-867e-e28b628216b1</value></item-id><item label="Item" type="text-multi"><value><item id="item-4ebfde28-ca62-4113-867e-e28b628216b1"><test>item-4ebfde28-ca62-4113-867e-e28b628216b1</test></item></value></item></result>

2023-02-01 21:31:53 | [Mutex] notify: [retrieved:item:item-4ebfde28-ca62-4113-867e-e28b628216b1:payload-matches:true:localhost]

2023-02-01 21:31:53 | [Mutex] received everything.

2023-02-01 21:31:53 | [Mutex] isItemNotified: retrieved:item:item-4ebfde28-ca62-4113-867e-e28b628216b1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-01 21:31:53 |

2023-02-01 21:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:53 | ------------------------------------

2023-02-01 21:31:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-01 21:31:53 | 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-92cc4cd4-acb8-4f65-b737-245805a98576</value><value>node-9d49f2b1-1d05-4c0b-8364-4636aa080f75</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-02-01 21:31:53 |

2023-02-01 21:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:53 | ------------------------------------

2023-02-01 21:31:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9d49f2b1-1d05-4c0b-8364-4636aa080f75)</node-pattern></data>

2023-02-01 21:31:53 | 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-02-01 21:31:51 |

2023-02-01 21:31:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:51 | ------------------------------------

2023-02-01 21:31:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9d49f2b1-1d05-4c0b-8364-4636aa080f75</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-01 21:31:51 | 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
2023-02-01 21:31:53 |

2023-02-01 21:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:31:53 | ------------------------------------

2023-02-01 21:31:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9d49f2b1-1d05-4c0b-8364-4636aa080f75</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-01 21:31:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>