Generated by TestNG with ReportNG at 04:16 PDT on Tuesday 25 October 2022
root@ed1b7dd8a1b3 / 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.720s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2022-10-25 04:32:34 |

2022-10-25 04:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:34 | ------------------------------------

2022-10-25 04:32:34 | [Mutex] waiting for: [configured:node:node-25e3c06a-911f-4d5b-817e-57cd0901ff65:node-75314f1c-2344-41db-a867-28f6282003bd]

2022-10-25 04:32:34 | [Mutex] received everything.

2022-10-25 04:32:34 | [Mutex] isItemNotified: configured:node:node-25e3c06a-911f-4d5b-817e-57cd0901ff65:node-75314f1c-2344-41db-a867-28f6282003bd :: true

2022-10-25 04:32:35 | [Mutex] waiting for: [received:nodes:659996c9-b738-42f8-873c-06f4b91c778c:localhost]

2022-10-25 04:32:35 | [Mutex] waiting for: [received:nodes:659996c9-b738-42f8-873c-06f4b91c778c:localhost]

2022-10-25 04:32:35 | [Mutex] received everything.

2022-10-25 04:32:35 | [Mutex] isItemNotified: received:node:659996c9-b738-42f8-873c-06f4b91c778c:localhost:node-25e3c06a-911f-4d5b-817e-57cd0901ff65:Node 25e3c06a-911f-4d5b-817e-57cd0901ff65 :: true

2022-10-25 04:32:35 | [Mutex] waiting for: [received:nodes:10b48038-165c-4eb5-8e0d-bf32e373d304:localhost]

2022-10-25 04:32:35 | [Mutex] waiting for: [received:nodes:10b48038-165c-4eb5-8e0d-bf32e373d304:localhost]

2022-10-25 04:32:35 | [Mutex] received everything.

2022-10-25 04:32:35 | [Mutex] isItemNotified: received:node:10b48038-165c-4eb5-8e0d-bf32e373d304:localhost:node-25e3c06a-911f-4d5b-817e-57cd0901ff65:Node 25e3c06a-911f-4d5b-817e-57cd0901ff65 :: false

createNodes 1.487s
2022-10-25 04:32:31 |

2022-10-25 04:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:31 | ------------------------------------

2022-10-25 04:32:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-25e3c06a-911f-4d5b-817e-57cd0901ff65</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 25e3c06a-911f-4d5b-817e-57cd0901ff65</title></pubsub></data>

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

2022-10-25 04:32:33 | [Mutex] waiting for: [received:nodes:e3e453d2-aeb7-43ca-92e4-249a00833d49:localhost]

2022-10-25 04:32:33 | [Mutex] received everything.

2022-10-25 04:32:33 | [Mutex] isItemNotified: received:node:e3e453d2-aeb7-43ca-92e4-249a00833d49:localhost:node-25e3c06a-911f-4d5b-817e-57cd0901ff65:Node 25e3c06a-911f-4d5b-817e-57cd0901ff65 :: true

createSubnodes 1.040s
2022-10-25 04:32:33 |

2022-10-25 04:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:33 | ------------------------------------

2022-10-25 04:32:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-75314f1c-2344-41db-a867-28f6282003bd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 75314f1c-2344-41db-a867-28f6282003bd</title></pubsub></data>

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

2022-10-25 04:32:34 | [Mutex] waiting for: [received:nodes:77b752ec-2a19-44a6-ad66-41482550e7b5:localhost]

2022-10-25 04:32:34 | [Mutex] received everything.

2022-10-25 04:32:34 | [Mutex] isItemNotified: received:node:77b752ec-2a19-44a6-ad66-41482550e7b5:localhost:node-75314f1c-2344-41db-a867-28f6282003bd:Node 75314f1c-2344-41db-a867-28f6282003bd :: true

deleteNodes 1.018s
2022-10-25 04:32:39 |

2022-10-25 04:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:39 | ------------------------------------

2022-10-25 04:32:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-75314f1c-2344-41db-a867-28f6282003bd</node></data>

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

2022-10-25 04:32:40 | [Mutex] waiting for: [received:nodes:1fdbe347-c8d3-4eeb-9ccc-a428e5202db9:localhost]

2022-10-25 04:32:40 | [Mutex] waiting for: [received:nodes:1fdbe347-c8d3-4eeb-9ccc-a428e5202db9:localhost]

2022-10-25 04:32:40 | [Mutex] waiting for: [received:nodes:1fdbe347-c8d3-4eeb-9ccc-a428e5202db9:localhost]

2022-10-25 04:32:40 | [Mutex] received everything.

2022-10-25 04:32:40 | [Mutex] isItemNotified: received:node:1fdbe347-c8d3-4eeb-9ccc-a428e5202db9:localhost:node-75314f1c-2344-41db-a867-28f6282003bd:Node 75314f1c-2344-41db-a867-28f6282003bd :: false

deleteSubnodes 1.167s
2022-10-25 04:32:38 |

2022-10-25 04:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:38 | ------------------------------------

2022-10-25 04:32:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-25e3c06a-911f-4d5b-817e-57cd0901ff65</node></data>

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

2022-10-25 04:32:39 | [Mutex] waiting for: [received:nodes:15da5ee4-b279-4a4d-8b0a-57b2f9ddfca1:localhost]

2022-10-25 04:32:39 | [Mutex] waiting for: [received:nodes:15da5ee4-b279-4a4d-8b0a-57b2f9ddfca1:localhost]

2022-10-25 04:32:39 | [Mutex] received everything.

2022-10-25 04:32:39 | [Mutex] isItemNotified: received:node:15da5ee4-b279-4a4d-8b0a-57b2f9ddfca1:localhost:node-25e3c06a-911f-4d5b-817e-57cd0901ff65:Node 25e3c06a-911f-4d5b-817e-57cd0901ff65 :: false

2022-10-25 04:32:39 | [Mutex] waiting for: [received:nodes:9f74b1b5-d446-4029-a625-22d10ed0a692:localhost]

2022-10-25 04:32:39 | [Mutex] received everything.

2022-10-25 04:32:39 | [Mutex] isItemNotified: received:node:9f74b1b5-d446-4029-a625-22d10ed0a692:localhost:node-25e3c06a-911f-4d5b-817e-57cd0901ff65:Node 25e3c06a-911f-4d5b-817e-57cd0901ff65 :: false

publishItemsToNodes 0.254s
2022-10-25 04:32:36 |

2022-10-25 04:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:36 | ------------------------------------

2022-10-25 04:32:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-25e3c06a-911f-4d5b-817e-57cd0901ff65</node><item-id>item-98ba83ec-dca2-4f08-99d7-21680e2a20f3</item-id><entry><test>item-98ba83ec-dca2-4f08-99d7-21680e2a20f3</test></entry></data>

2022-10-25 04:32:36 | 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-98ba83ec-dca2-4f08-99d7-21680e2a20f3</value></item-id></result>

2022-10-25 04:32:36 | [Mutex] waiting for: [published:item:notifieditem-98ba83ec-dca2-4f08-99d7-21680e2a20f3:admin@test-domain.com]

2022-10-25 04:32:36 | [Mutex] received everything.

2022-10-25 04:32:36 | [Mutex] isItemNotified: published:item:notifieditem-98ba83ec-dca2-4f08-99d7-21680e2a20f3:admin@test-domain.com :: true

retractItemsFromNodes 0.260s
2022-10-25 04:32:37 |

2022-10-25 04:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:37 | ------------------------------------

2022-10-25 04:32:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-25e3c06a-911f-4d5b-817e-57cd0901ff65</node><item-id>item-98ba83ec-dca2-4f08-99d7-21680e2a20f3</item-id></data>

2022-10-25 04:32: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-98ba83ec-dca2-4f08-99d7-21680e2a20f3</value></item-id></result>

2022-10-25 04:32:37 | [Mutex] waiting for: [retracted:item:notifieditem-98ba83ec-dca2-4f08-99d7-21680e2a20f3:admin@test-domain.com]

2022-10-25 04:32:37 | [Mutex] received everything.

2022-10-25 04:32:37 | [Mutex] isItemNotified: retracted:item:notifieditem-98ba83ec-dca2-4f08-99d7-21680e2a20f3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2022-10-25 04:32:36 |

2022-10-25 04:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:36 | ------------------------------------

2022-10-25 04:32:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-25e3c06a-911f-4d5b-817e-57cd0901ff65</node><item-id>item-98ba83ec-dca2-4f08-99d7-21680e2a20f3</item-id></data>

2022-10-25 04:32:36 | 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-25e3c06a-911f-4d5b-817e-57cd0901ff65</value></node><item-id label="Item ID" type="text-single"><value>item-98ba83ec-dca2-4f08-99d7-21680e2a20f3</value></item-id><item label="Item" type="text-multi"><value><item id="item-98ba83ec-dca2-4f08-99d7-21680e2a20f3"><test>item-98ba83ec-dca2-4f08-99d7-21680e2a20f3</test></item></value></item></result>

2022-10-25 04:32:36 | [Mutex] notify: [retrieved:item:item-98ba83ec-dca2-4f08-99d7-21680e2a20f3:payload-matches:true:localhost]

2022-10-25 04:32:36 | [Mutex] received everything.

2022-10-25 04:32:36 | [Mutex] isItemNotified: retrieved:item:item-98ba83ec-dca2-4f08-99d7-21680e2a20f3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-25 04:32:36 |

2022-10-25 04:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:36 | ------------------------------------

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

2022-10-25 04:32:36 | 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-75314f1c-2344-41db-a867-28f6282003bd</value><value>node-25e3c06a-911f-4d5b-817e-57cd0901ff65</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-10-25 04:32:36 |

2022-10-25 04:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:36 | ------------------------------------

2022-10-25 04:32:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-25e3c06a-911f-4d5b-817e-57cd0901ff65)</node-pattern></data>

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

subscribeNodes 1.110s
2022-10-25 04:32:35 |

2022-10-25 04:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:35 | ------------------------------------

2022-10-25 04:32:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-25e3c06a-911f-4d5b-817e-57cd0901ff65</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.198s
2022-10-25 04:32:37 |

2022-10-25 04:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:32:37 | ------------------------------------

2022-10-25 04:32:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-25e3c06a-911f-4d5b-817e-57cd0901ff65</node><jids><value>admin@test-domain.com</value></jids></data>

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