Generated by TestNG with ReportNG at 21:29 PST on Wednesday 15 February 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.528s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2023-02-15 21:44:44 |

2023-02-15 21:44:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:44:44 | ------------------------------------

2023-02-15 21:44:44 | [Mutex] waiting for: [configured:node:node-40e1a370-a3a0-488d-be72-58ca4ead0783:node-c3e54034-0816-4332-8c0d-e99bdeb30a60]

2023-02-15 21:44:44 | [Mutex] received everything.

2023-02-15 21:44:44 | [Mutex] isItemNotified: configured:node:node-40e1a370-a3a0-488d-be72-58ca4ead0783:node-c3e54034-0816-4332-8c0d-e99bdeb30a60 :: true

2023-02-15 21:44:45 | [Mutex] waiting for: [received:nodes:312351f5-575c-4c5d-b298-1b57da17daff:localhost]

2023-02-15 21:44:45 | [Mutex] received everything.

2023-02-15 21:44:45 | [Mutex] isItemNotified: received:node:312351f5-575c-4c5d-b298-1b57da17daff:localhost:node-40e1a370-a3a0-488d-be72-58ca4ead0783:Node 40e1a370-a3a0-488d-be72-58ca4ead0783 :: true

2023-02-15 21:44:45 | [Mutex] waiting for: [received:nodes:ee90bdf7-bbff-483f-b4e4-70d8344886dc:localhost]

2023-02-15 21:44:45 | [Mutex] waiting for: [received:nodes:ee90bdf7-bbff-483f-b4e4-70d8344886dc:localhost]

2023-02-15 21:44:45 | [Mutex] waiting for: [received:nodes:ee90bdf7-bbff-483f-b4e4-70d8344886dc:localhost]

2023-02-15 21:44:45 | [Mutex] received everything.

2023-02-15 21:44:45 | [Mutex] isItemNotified: received:node:ee90bdf7-bbff-483f-b4e4-70d8344886dc:localhost:node-40e1a370-a3a0-488d-be72-58ca4ead0783:Node 40e1a370-a3a0-488d-be72-58ca4ead0783 :: false

createNodes 1.468s
2023-02-15 21:44:42 |

2023-02-15 21:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:44:42 | ------------------------------------

2023-02-15 21:44:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-40e1a370-a3a0-488d-be72-58ca4ead0783</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 40e1a370-a3a0-488d-be72-58ca4ead0783</title></pubsub></data>

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

2023-02-15 21:44:43 | [Mutex] waiting for: [received:nodes:864befb3-abf0-482f-8a25-67e5c4728e21:localhost]

2023-02-15 21:44:43 | [Mutex] waiting for: [received:nodes:864befb3-abf0-482f-8a25-67e5c4728e21:localhost]

2023-02-15 21:44:43 | [Mutex] waiting for: [received:nodes:864befb3-abf0-482f-8a25-67e5c4728e21:localhost]

2023-02-15 21:44:43 | [Mutex] waiting for: [received:nodes:864befb3-abf0-482f-8a25-67e5c4728e21:localhost]

2023-02-15 21:44:43 | [Mutex] waiting for: [received:nodes:864befb3-abf0-482f-8a25-67e5c4728e21:localhost]

2023-02-15 21:44:43 | [Mutex] received everything.

2023-02-15 21:44:43 | [Mutex] isItemNotified: received:node:864befb3-abf0-482f-8a25-67e5c4728e21:localhost:node-40e1a370-a3a0-488d-be72-58ca4ead0783:Node 40e1a370-a3a0-488d-be72-58ca4ead0783 :: true

createSubnodes 1.029s
2023-02-15 21:44:43 |

2023-02-15 21:44:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:44:43 | ------------------------------------

2023-02-15 21:44:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c3e54034-0816-4332-8c0d-e99bdeb30a60</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c3e54034-0816-4332-8c0d-e99bdeb30a60</title></pubsub></data>

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

2023-02-15 21:44:44 | [Mutex] waiting for: [received:nodes:3c71c4c7-561e-48b0-8799-074546ae8727:localhost]

2023-02-15 21:44:44 | [Mutex] waiting for: [received:nodes:3c71c4c7-561e-48b0-8799-074546ae8727:localhost]

2023-02-15 21:44:44 | [Mutex] waiting for: [received:nodes:3c71c4c7-561e-48b0-8799-074546ae8727:localhost]

2023-02-15 21:44:44 | [Mutex] waiting for: [received:nodes:3c71c4c7-561e-48b0-8799-074546ae8727:localhost]

2023-02-15 21:44:44 | [Mutex] received everything.

2023-02-15 21:44:44 | [Mutex] isItemNotified: received:node:3c71c4c7-561e-48b0-8799-074546ae8727:localhost:node-c3e54034-0816-4332-8c0d-e99bdeb30a60:Node c3e54034-0816-4332-8c0d-e99bdeb30a60 :: true

deleteNodes 1.020s
2023-02-15 21:44:50 |

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

2023-02-15 21:44:50 | ------------------------------------

2023-02-15 21:44:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c3e54034-0816-4332-8c0d-e99bdeb30a60</node></data>

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

2023-02-15 21:44:51 | [Mutex] waiting for: [received:nodes:c68acd07-137f-45a8-9a65-ce24f198cbb7:localhost]

2023-02-15 21:44:51 | [Mutex] waiting for: [received:nodes:c68acd07-137f-45a8-9a65-ce24f198cbb7:localhost]

2023-02-15 21:44:51 | [Mutex] waiting for: [received:nodes:c68acd07-137f-45a8-9a65-ce24f198cbb7:localhost]

2023-02-15 21:44:51 | [Mutex] received everything.

2023-02-15 21:44:51 | [Mutex] isItemNotified: received:node:c68acd07-137f-45a8-9a65-ce24f198cbb7:localhost:node-c3e54034-0816-4332-8c0d-e99bdeb30a60:Node c3e54034-0816-4332-8c0d-e99bdeb30a60 :: false

deleteSubnodes 1.120s
2023-02-15 21:44:49 |

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

2023-02-15 21:44:49 | ------------------------------------

2023-02-15 21:44:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-40e1a370-a3a0-488d-be72-58ca4ead0783</node></data>

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

2023-02-15 21:44:50 | [Mutex] waiting for: [received:nodes:43afbeb6-25fa-4c8a-9fb2-18a798ce3333:localhost]

2023-02-15 21:44:50 | [Mutex] waiting for: [received:nodes:43afbeb6-25fa-4c8a-9fb2-18a798ce3333:localhost]

2023-02-15 21:44:50 | [Mutex] waiting for: [received:nodes:43afbeb6-25fa-4c8a-9fb2-18a798ce3333:localhost]

2023-02-15 21:44:50 | [Mutex] waiting for: [received:nodes:43afbeb6-25fa-4c8a-9fb2-18a798ce3333:localhost]

2023-02-15 21:44:50 | [Mutex] received everything.

2023-02-15 21:44:50 | [Mutex] isItemNotified: received:node:43afbeb6-25fa-4c8a-9fb2-18a798ce3333:localhost:node-40e1a370-a3a0-488d-be72-58ca4ead0783:Node 40e1a370-a3a0-488d-be72-58ca4ead0783 :: false

2023-02-15 21:44:50 | [Mutex] waiting for: [received:nodes:896a9cfc-f098-4bd2-91d7-38ee5dfe2960:localhost]

2023-02-15 21:44:50 | [Mutex] received everything.

2023-02-15 21:44:50 | [Mutex] isItemNotified: received:node:896a9cfc-f098-4bd2-91d7-38ee5dfe2960:localhost:node-40e1a370-a3a0-488d-be72-58ca4ead0783:Node 40e1a370-a3a0-488d-be72-58ca4ead0783 :: false

publishItemsToNodes 0.192s
2023-02-15 21:44:47 |

2023-02-15 21:44:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:44:47 | ------------------------------------

2023-02-15 21:44:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-40e1a370-a3a0-488d-be72-58ca4ead0783</node><item-id>item-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39</item-id><entry><test>item-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39</test></entry></data>

2023-02-15 21:44:47 | 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-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39</value></item-id></result>

2023-02-15 21:44:47 | [Mutex] received everything.

2023-02-15 21:44:47 | [Mutex] isItemNotified: published:item:notifieditem-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2023-02-15 21:44:47 |

2023-02-15 21:44:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:44:47 | ------------------------------------

2023-02-15 21:44:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-40e1a370-a3a0-488d-be72-58ca4ead0783</node><item-id>item-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39</item-id></data>

2023-02-15 21:44:47 | 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-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39</value></item-id></result>

2023-02-15 21:44:47 | [Mutex] received everything.

2023-02-15 21:44:47 | [Mutex] isItemNotified: retracted:item:notifieditem-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39:admin@test-domain.com :: true

retrieveItemsFromNodes 0.238s
2023-02-15 21:44:47 |

2023-02-15 21:44:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:44:47 | ------------------------------------

2023-02-15 21:44:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-40e1a370-a3a0-488d-be72-58ca4ead0783</node><item-id>item-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39</item-id></data>

2023-02-15 21:44:47 | 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-40e1a370-a3a0-488d-be72-58ca4ead0783</value></node><item-id type="text-single" label="Item ID"><value>item-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39</value></item-id><item type="text-multi" label="Item"><value><item id="item-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39"><test>item-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39</test></item></value></item></result>

2023-02-15 21:44:47 | [Mutex] notify: [retrieved:item:item-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39:payload-matches:true:localhost]

2023-02-15 21:44:47 | [Mutex] received everything.

2023-02-15 21:44:47 | [Mutex] isItemNotified: retrieved:item:item-ec6f16ce-f080-4f5c-9dda-bdb6ceb66c39:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-15 21:44:47 |

2023-02-15 21:44:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:44:47 | ------------------------------------

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

2023-02-15 21:44:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-40e1a370-a3a0-488d-be72-58ca4ead0783</value><value>node-c3e54034-0816-4332-8c0d-e99bdeb30a60</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-02-15 21:44:47 |

2023-02-15 21:44:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:44:47 | ------------------------------------

2023-02-15 21:44:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-40e1a370-a3a0-488d-be72-58ca4ead0783)</node-pattern></data>

2023-02-15 21:44:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.110s
2023-02-15 21:44:45 |

2023-02-15 21:44:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:44:45 | ------------------------------------

2023-02-15 21:44:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-40e1a370-a3a0-488d-be72-58ca4ead0783</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-15 21:44:46 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2023-02-15 21:44:47 |

2023-02-15 21:44:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:44:47 | ------------------------------------

2023-02-15 21:44:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-40e1a370-a3a0-488d-be72-58ca4ead0783</node><jids><value>admin@test-domain.com</value></jids></data>

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