Generated by TestNG with ReportNG at 22:48 PDT on Monday 08 August 2022
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.426s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2022-08-08 23:09:59 |

2022-08-08 23:09:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:09:59 | ------------------------------------

2022-08-08 23:09:59 | [Mutex] waiting for: [configured:node:node-9790b10e-557b-497c-bc9a-a03f55734d96:node-8b7a056e-26be-48d8-8137-2b57a8385e11]

2022-08-08 23:09:59 | [Mutex] received everything.

2022-08-08 23:09:59 | [Mutex] isItemNotified: configured:node:node-9790b10e-557b-497c-bc9a-a03f55734d96:node-8b7a056e-26be-48d8-8137-2b57a8385e11 :: true

2022-08-08 23:10:00 | [Mutex] waiting for: [received:nodes:3b5566a2-b8b8-4a8f-8977-8ddede8a83f5:localhost]

2022-08-08 23:10:00 | [Mutex] received everything.

2022-08-08 23:10:00 | [Mutex] isItemNotified: received:node:3b5566a2-b8b8-4a8f-8977-8ddede8a83f5:localhost:node-9790b10e-557b-497c-bc9a-a03f55734d96:Node 9790b10e-557b-497c-bc9a-a03f55734d96 :: true

2022-08-08 23:10:00 | [Mutex] waiting for: [received:nodes:6e74df0e-1dfa-40f1-a080-d9f02264955f:localhost]

2022-08-08 23:10:00 | [Mutex] waiting for: [received:nodes:6e74df0e-1dfa-40f1-a080-d9f02264955f:localhost]

2022-08-08 23:10:00 | [Mutex] received everything.

2022-08-08 23:10:00 | [Mutex] isItemNotified: received:node:6e74df0e-1dfa-40f1-a080-d9f02264955f:localhost:node-9790b10e-557b-497c-bc9a-a03f55734d96:Node 9790b10e-557b-497c-bc9a-a03f55734d96 :: false

createNodes 1.364s
2022-08-08 23:09:57 |

2022-08-08 23:09:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:09:57 | ------------------------------------

2022-08-08 23:09:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9790b10e-557b-497c-bc9a-a03f55734d96</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9790b10e-557b-497c-bc9a-a03f55734d96</title></pubsub></data>

2022-08-08 23:09:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-08 23:09:58 | [Mutex] waiting for: [received:nodes:00fcade5-e67f-455f-a70f-f2569bffdf51:localhost]

2022-08-08 23:09:58 | [Mutex] received everything.

2022-08-08 23:09:58 | [Mutex] isItemNotified: received:node:00fcade5-e67f-455f-a70f-f2569bffdf51:localhost:node-9790b10e-557b-497c-bc9a-a03f55734d96:Node 9790b10e-557b-497c-bc9a-a03f55734d96 :: true

createSubnodes 1.027s
2022-08-08 23:09:58 |

2022-08-08 23:09:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:09:58 | ------------------------------------

2022-08-08 23:09:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8b7a056e-26be-48d8-8137-2b57a8385e11</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8b7a056e-26be-48d8-8137-2b57a8385e11</title></pubsub></data>

2022-08-08 23:09:58 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-08 23:09:59 | [Mutex] waiting for: [received:nodes:8ad308d3-399b-4795-9682-05c678ccbdf7:localhost]

2022-08-08 23:09:59 | [Mutex] received everything.

2022-08-08 23:09:59 | [Mutex] isItemNotified: received:node:8ad308d3-399b-4795-9682-05c678ccbdf7:localhost:node-8b7a056e-26be-48d8-8137-2b57a8385e11:Node 8b7a056e-26be-48d8-8137-2b57a8385e11 :: true

deleteNodes 1.022s
2022-08-08 23:10:05 |

2022-08-08 23:10:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:10:05 | ------------------------------------

2022-08-08 23:10:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8b7a056e-26be-48d8-8137-2b57a8385e11</node></data>

2022-08-08 23:10:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-08 23:10:06 | [Mutex] waiting for: [received:nodes:7d1ce0d8-a136-4fd6-87ea-81eed28b9a5b:localhost]

2022-08-08 23:10:06 | [Mutex] received everything.

2022-08-08 23:10:06 | [Mutex] isItemNotified: received:node:7d1ce0d8-a136-4fd6-87ea-81eed28b9a5b:localhost:node-8b7a056e-26be-48d8-8137-2b57a8385e11:Node 8b7a056e-26be-48d8-8137-2b57a8385e11 :: false

deleteSubnodes 1.132s
2022-08-08 23:10:04 |

2022-08-08 23:10:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:10:04 | ------------------------------------

2022-08-08 23:10:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9790b10e-557b-497c-bc9a-a03f55734d96</node></data>

2022-08-08 23:10:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-08 23:10:05 | [Mutex] waiting for: [received:nodes:983f4aa8-0cb7-4071-ba27-5fa258007be0:localhost]

2022-08-08 23:10:05 | [Mutex] waiting for: [received:nodes:983f4aa8-0cb7-4071-ba27-5fa258007be0:localhost]

2022-08-08 23:10:05 | [Mutex] waiting for: [received:nodes:983f4aa8-0cb7-4071-ba27-5fa258007be0:localhost]

2022-08-08 23:10:05 | [Mutex] received everything.

2022-08-08 23:10:05 | [Mutex] isItemNotified: received:node:983f4aa8-0cb7-4071-ba27-5fa258007be0:localhost:node-9790b10e-557b-497c-bc9a-a03f55734d96:Node 9790b10e-557b-497c-bc9a-a03f55734d96 :: false

2022-08-08 23:10:05 | [Mutex] waiting for: [received:nodes:c4fc2799-abdd-45d3-9508-6cd26a1619ae:localhost]

2022-08-08 23:10:05 | [Mutex] received everything.

2022-08-08 23:10:05 | [Mutex] isItemNotified: received:node:c4fc2799-abdd-45d3-9508-6cd26a1619ae:localhost:node-9790b10e-557b-497c-bc9a-a03f55734d96:Node 9790b10e-557b-497c-bc9a-a03f55734d96 :: false

publishItemsToNodes 0.275s
2022-08-08 23:10:02 |

2022-08-08 23:10:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:10:02 | ------------------------------------

2022-08-08 23:10:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9790b10e-557b-497c-bc9a-a03f55734d96</node><item-id>item-a7da45cd-9967-4378-8ab0-c3e834aa7733</item-id><entry><test>item-a7da45cd-9967-4378-8ab0-c3e834aa7733</test></entry></data>

2022-08-08 23:10:02 | 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-a7da45cd-9967-4378-8ab0-c3e834aa7733</value></item-id></result>

2022-08-08 23:10:02 | [Mutex] received everything.

2022-08-08 23:10:02 | [Mutex] isItemNotified: published:item:notifieditem-a7da45cd-9967-4378-8ab0-c3e834aa7733:admin@test-domain.com :: true

retractItemsFromNodes 0.199s
2022-08-08 23:10:02 |

2022-08-08 23:10:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:10:02 | ------------------------------------

2022-08-08 23:10:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9790b10e-557b-497c-bc9a-a03f55734d96</node><item-id>item-a7da45cd-9967-4378-8ab0-c3e834aa7733</item-id></data>

2022-08-08 23:10:02 | 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-a7da45cd-9967-4378-8ab0-c3e834aa7733</value></item-id></result>

2022-08-08 23:10:02 | [Mutex] received everything.

2022-08-08 23:10:02 | [Mutex] isItemNotified: retracted:item:notifieditem-a7da45cd-9967-4378-8ab0-c3e834aa7733:admin@test-domain.com :: true

retrieveItemsFromNodes 0.241s
2022-08-08 23:10:02 |

2022-08-08 23:10:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:10:02 | ------------------------------------

2022-08-08 23:10:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9790b10e-557b-497c-bc9a-a03f55734d96</node><item-id>item-a7da45cd-9967-4378-8ab0-c3e834aa7733</item-id></data>

2022-08-08 23:10:02 | 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-9790b10e-557b-497c-bc9a-a03f55734d96</value></node><item-id label="Item ID" type="text-single"><value>item-a7da45cd-9967-4378-8ab0-c3e834aa7733</value></item-id><item label="Item" type="text-multi"><value><item id="item-a7da45cd-9967-4378-8ab0-c3e834aa7733"><test>item-a7da45cd-9967-4378-8ab0-c3e834aa7733</test></item></value></item></result>

2022-08-08 23:10:02 | [Mutex] notify: [retrieved:item:item-a7da45cd-9967-4378-8ab0-c3e834aa7733:payload-matches:true:localhost]

2022-08-08 23:10:02 | [Mutex] received everything.

2022-08-08 23:10:02 | [Mutex] isItemNotified: retrieved:item:item-a7da45cd-9967-4378-8ab0-c3e834aa7733:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-08 23:10:02 |

2022-08-08 23:10:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:10:02 | ------------------------------------

2022-08-08 23:10:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-08 23:10:02 | 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-9790b10e-557b-497c-bc9a-a03f55734d96</value><value>node-8b7a056e-26be-48d8-8137-2b57a8385e11</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-08 23:10:02 |

2022-08-08 23:10:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:10:02 | ------------------------------------

2022-08-08 23:10:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9790b10e-557b-497c-bc9a-a03f55734d96)</node-pattern></data>

2022-08-08 23:10:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.118s
2022-08-08 23:10:00 |

2022-08-08 23:10:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:10:00 | ------------------------------------

2022-08-08 23:10:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9790b10e-557b-497c-bc9a-a03f55734d96</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-08 23:10:01 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.216s
2022-08-08 23:10:02 |

2022-08-08 23:10:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 23:10:02 | ------------------------------------

2022-08-08 23:10:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9790b10e-557b-497c-bc9a-a03f55734d96</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-08 23:10:03 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>