Generated by TestNG with ReportNG at 22:31 PDT on Saturday 25 June 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.655s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2022-06-25 22:53:00 |

2022-06-25 22:53:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:53:00 | ------------------------------------

2022-06-25 22:53:00 | [Mutex] waiting for: [configured:node:node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a:node-eac6fbae-eb89-45cc-a905-c869b74b5625]

2022-06-25 22:53:00 | [Mutex] received everything.

2022-06-25 22:53:00 | [Mutex] isItemNotified: configured:node:node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a:node-eac6fbae-eb89-45cc-a905-c869b74b5625 :: true

2022-06-25 22:53:01 | [Mutex] waiting for: [received:nodes:2f1b9c31-2172-47a8-908c-2d60034362b8:localhost]

2022-06-25 22:53:01 | [Mutex] received everything.

2022-06-25 22:53:01 | [Mutex] isItemNotified: received:node:2f1b9c31-2172-47a8-908c-2d60034362b8:localhost:node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a:Node cd4de5c9-9cbf-4998-ad23-4dd11a33326a :: true

2022-06-25 22:53:01 | [Mutex] waiting for: [received:nodes:7d2bcae0-94a4-4b90-83d0-20fad858dd4b:localhost]

2022-06-25 22:53:01 | [Mutex] waiting for: [received:nodes:7d2bcae0-94a4-4b90-83d0-20fad858dd4b:localhost]

2022-06-25 22:53:01 | [Mutex] waiting for: [received:nodes:7d2bcae0-94a4-4b90-83d0-20fad858dd4b:localhost]

2022-06-25 22:53:01 | [Mutex] received everything.

2022-06-25 22:53:01 | [Mutex] isItemNotified: received:node:7d2bcae0-94a4-4b90-83d0-20fad858dd4b:localhost:node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a:Node cd4de5c9-9cbf-4998-ad23-4dd11a33326a :: false

createNodes 1.505s
2022-06-25 22:52:58 |

2022-06-25 22:52:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:52:58 | ------------------------------------

2022-06-25 22:52:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cd4de5c9-9cbf-4998-ad23-4dd11a33326a</title></pubsub></data>

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

2022-06-25 22:52:59 | [Mutex] waiting for: [received:nodes:ff5ee00e-49bd-4750-8f8e-2ab155dd5c8b:localhost]

2022-06-25 22:52:59 | [Mutex] waiting for: [received:nodes:ff5ee00e-49bd-4750-8f8e-2ab155dd5c8b:localhost]

2022-06-25 22:52:59 | [Mutex] received everything.

2022-06-25 22:52:59 | [Mutex] isItemNotified: received:node:ff5ee00e-49bd-4750-8f8e-2ab155dd5c8b:localhost:node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a:Node cd4de5c9-9cbf-4998-ad23-4dd11a33326a :: true

createSubnodes 1.029s
2022-06-25 22:52:59 |

2022-06-25 22:52:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:52:59 | ------------------------------------

2022-06-25 22:52:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-eac6fbae-eb89-45cc-a905-c869b74b5625</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node eac6fbae-eb89-45cc-a905-c869b74b5625</title></pubsub></data>

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

2022-06-25 22:53:00 | [Mutex] waiting for: [received:nodes:e8368584-c10c-4605-b64a-43600ab249f7:localhost]

2022-06-25 22:53:00 | [Mutex] waiting for: [received:nodes:e8368584-c10c-4605-b64a-43600ab249f7:localhost]

2022-06-25 22:53:00 | [Mutex] received everything.

2022-06-25 22:53:00 | [Mutex] isItemNotified: received:node:e8368584-c10c-4605-b64a-43600ab249f7:localhost:node-eac6fbae-eb89-45cc-a905-c869b74b5625:Node eac6fbae-eb89-45cc-a905-c869b74b5625 :: true

deleteNodes 1.022s
2022-06-25 22:53:06 |

2022-06-25 22:53:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:53:06 | ------------------------------------

2022-06-25 22:53:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-eac6fbae-eb89-45cc-a905-c869b74b5625</node></data>

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

2022-06-25 22:53:07 | [Mutex] waiting for: [received:nodes:db528934-77c1-4294-b3fb-0534ff31c0f0:localhost]

2022-06-25 22:53:07 | [Mutex] received everything.

2022-06-25 22:53:07 | [Mutex] isItemNotified: received:node:db528934-77c1-4294-b3fb-0534ff31c0f0:localhost:node-eac6fbae-eb89-45cc-a905-c869b74b5625:Node eac6fbae-eb89-45cc-a905-c869b74b5625 :: false

deleteSubnodes 1.197s
2022-06-25 22:53:04 |

2022-06-25 22:53:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:53:04 | ------------------------------------

2022-06-25 22:53:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a</node></data>

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

2022-06-25 22:53:06 | [Mutex] waiting for: [received:nodes:cf2fd0ba-6848-47ef-875c-d9f9d8e34baa:localhost]

2022-06-25 22:53:06 | [Mutex] waiting for: [received:nodes:cf2fd0ba-6848-47ef-875c-d9f9d8e34baa:localhost]

2022-06-25 22:53:06 | [Mutex] waiting for: [received:nodes:cf2fd0ba-6848-47ef-875c-d9f9d8e34baa:localhost]

2022-06-25 22:53:06 | [Mutex] waiting for: [received:nodes:cf2fd0ba-6848-47ef-875c-d9f9d8e34baa:localhost]

2022-06-25 22:53:06 | [Mutex] received everything.

2022-06-25 22:53:06 | [Mutex] isItemNotified: received:node:cf2fd0ba-6848-47ef-875c-d9f9d8e34baa:localhost:node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a:Node cd4de5c9-9cbf-4998-ad23-4dd11a33326a :: false

2022-06-25 22:53:06 | [Mutex] waiting for: [received:nodes:6c263baf-546a-49d7-b7ad-84a8561c15c6:localhost]

2022-06-25 22:53:06 | [Mutex] received everything.

2022-06-25 22:53:06 | [Mutex] isItemNotified: received:node:6c263baf-546a-49d7-b7ad-84a8561c15c6:localhost:node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a:Node cd4de5c9-9cbf-4998-ad23-4dd11a33326a :: false

publishItemsToNodes 0.235s
2022-06-25 22:53:02 |

2022-06-25 22:53:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:53:02 | ------------------------------------

2022-06-25 22:53:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a</node><item-id>item-686bd383-7e54-4b99-868c-c7ce822f727b</item-id><entry><test>item-686bd383-7e54-4b99-868c-c7ce822f727b</test></entry></data>

2022-06-25 22:53:03 | 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-686bd383-7e54-4b99-868c-c7ce822f727b</value></item-id></result>

2022-06-25 22:53:03 | [Mutex] received everything.

2022-06-25 22:53:03 | [Mutex] isItemNotified: published:item:notifieditem-686bd383-7e54-4b99-868c-c7ce822f727b:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-06-25 22:53:03 |

2022-06-25 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:53:03 | ------------------------------------

2022-06-25 22:53:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a</node><item-id>item-686bd383-7e54-4b99-868c-c7ce822f727b</item-id></data>

2022-06-25 22:53:03 | 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-686bd383-7e54-4b99-868c-c7ce822f727b</value></item-id></result>

2022-06-25 22:53:03 | [Mutex] received everything.

2022-06-25 22:53:03 | [Mutex] isItemNotified: retracted:item:notifieditem-686bd383-7e54-4b99-868c-c7ce822f727b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.239s
2022-06-25 22:53:03 |

2022-06-25 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:53:03 | ------------------------------------

2022-06-25 22:53:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a</node><item-id>item-686bd383-7e54-4b99-868c-c7ce822f727b</item-id></data>

2022-06-25 22:53:03 | 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-cd4de5c9-9cbf-4998-ad23-4dd11a33326a</value></node><item-id type="text-single" label="Item ID"><value>item-686bd383-7e54-4b99-868c-c7ce822f727b</value></item-id><item type="text-multi" label="Item"><value><item id="item-686bd383-7e54-4b99-868c-c7ce822f727b"><test>item-686bd383-7e54-4b99-868c-c7ce822f727b</test></item></value></item></result>

2022-06-25 22:53:03 | [Mutex] notify: [retrieved:item:item-686bd383-7e54-4b99-868c-c7ce822f727b:payload-matches:true:localhost]

2022-06-25 22:53:03 | [Mutex] received everything.

2022-06-25 22:53:03 | [Mutex] isItemNotified: retrieved:item:item-686bd383-7e54-4b99-868c-c7ce822f727b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-25 22:53:03 |

2022-06-25 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:53:03 | ------------------------------------

2022-06-25 22:53:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-25 22:53:03 | 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-cd4de5c9-9cbf-4998-ad23-4dd11a33326a</value><value>node-eac6fbae-eb89-45cc-a905-c869b74b5625</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-06-25 22:53:03 |

2022-06-25 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:53:03 | ------------------------------------

2022-06-25 22:53:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a)</node-pattern></data>

2022-06-25 22:53:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.119s
2022-06-25 22:53:01 |

2022-06-25 22:53:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:53:01 | ------------------------------------

2022-06-25 22:53:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-25 22:53: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.201s
2022-06-25 22:53:03 |

2022-06-25 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:53:03 | ------------------------------------

2022-06-25 22:53:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cd4de5c9-9cbf-4998-ad23-4dd11a33326a</node><jids><value>admin@test-domain.com</value></jids></data>

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