Generated by TestNG with ReportNG at 22:30 PDT on Sunday 04 June 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.616s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2023-06-04 22:44:50 |

2023-06-04 22:44:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:44:50 | ------------------------------------

2023-06-04 22:44:50 | [Mutex] waiting for: [configured:node:node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59:node-2403056b-899c-4beb-be7c-23067facf1eb]

2023-06-04 22:44:50 | [Mutex] received everything.

2023-06-04 22:44:50 | [Mutex] isItemNotified: configured:node:node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59:node-2403056b-899c-4beb-be7c-23067facf1eb :: true

2023-06-04 22:44:51 | [Mutex] waiting for: [received:nodes:48172710-4bdc-4962-a84a-1842a76ba86d:localhost]

2023-06-04 22:44:51 | [Mutex] received everything.

2023-06-04 22:44:51 | [Mutex] isItemNotified: received:node:48172710-4bdc-4962-a84a-1842a76ba86d:localhost:node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59:Node ed7a0fbc-4996-4567-a54f-5e96a15b8a59 :: true

2023-06-04 22:44:51 | [Mutex] waiting for: [received:nodes:9ec931c9-19cd-41b3-836c-47c4093906bb:localhost]

2023-06-04 22:44:51 | [Mutex] waiting for: [received:nodes:9ec931c9-19cd-41b3-836c-47c4093906bb:localhost]

2023-06-04 22:44:51 | [Mutex] waiting for: [received:nodes:9ec931c9-19cd-41b3-836c-47c4093906bb:localhost]

2023-06-04 22:44:51 | [Mutex] received everything.

2023-06-04 22:44:51 | [Mutex] isItemNotified: received:node:9ec931c9-19cd-41b3-836c-47c4093906bb:localhost:node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59:Node ed7a0fbc-4996-4567-a54f-5e96a15b8a59 :: false

createNodes 1.469s
2023-06-04 22:44:47 |

2023-06-04 22:44:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:44:47 | ------------------------------------

2023-06-04 22:44:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ed7a0fbc-4996-4567-a54f-5e96a15b8a59</title></pubsub></data>

2023-06-04 22:44:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-06-04 22:44:49 | [Mutex] waiting for: [received:nodes:7978390d-6a7d-4d49-abf8-16c7d41106ca:localhost]

2023-06-04 22:44:49 | [Mutex] received everything.

2023-06-04 22:44:49 | [Mutex] isItemNotified: received:node:7978390d-6a7d-4d49-abf8-16c7d41106ca:localhost:node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59:Node ed7a0fbc-4996-4567-a54f-5e96a15b8a59 :: true

createSubnodes 1.031s
2023-06-04 22:44:49 |

2023-06-04 22:44:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:44:49 | ------------------------------------

2023-06-04 22:44:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2403056b-899c-4beb-be7c-23067facf1eb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2403056b-899c-4beb-be7c-23067facf1eb</title></pubsub></data>

2023-06-04 22:44:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-06-04 22:44:50 | [Mutex] waiting for: [received:nodes:fd52bbbe-47ff-42e5-8375-2ddddf53d6a5:localhost]

2023-06-04 22:44:50 | [Mutex] waiting for: [received:nodes:fd52bbbe-47ff-42e5-8375-2ddddf53d6a5:localhost]

2023-06-04 22:44:50 | [Mutex] waiting for: [received:nodes:fd52bbbe-47ff-42e5-8375-2ddddf53d6a5:localhost]

2023-06-04 22:44:50 | [Mutex] waiting for: [received:nodes:fd52bbbe-47ff-42e5-8375-2ddddf53d6a5:localhost]

2023-06-04 22:44:50 | [Mutex] received everything.

2023-06-04 22:44:50 | [Mutex] isItemNotified: received:node:fd52bbbe-47ff-42e5-8375-2ddddf53d6a5:localhost:node-2403056b-899c-4beb-be7c-23067facf1eb:Node 2403056b-899c-4beb-be7c-23067facf1eb :: true

deleteNodes 1.025s
2023-06-04 22:44:55 |

2023-06-04 22:44:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:44:55 | ------------------------------------

2023-06-04 22:44:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2403056b-899c-4beb-be7c-23067facf1eb</node></data>

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

2023-06-04 22:44:56 | [Mutex] waiting for: [received:nodes:09725dc9-12c0-4d52-a38b-96253d8fb86e:localhost]

2023-06-04 22:44:56 | [Mutex] waiting for: [received:nodes:09725dc9-12c0-4d52-a38b-96253d8fb86e:localhost]

2023-06-04 22:44:56 | [Mutex] waiting for: [received:nodes:09725dc9-12c0-4d52-a38b-96253d8fb86e:localhost]

2023-06-04 22:44:56 | [Mutex] received everything.

2023-06-04 22:44:56 | [Mutex] isItemNotified: received:node:09725dc9-12c0-4d52-a38b-96253d8fb86e:localhost:node-2403056b-899c-4beb-be7c-23067facf1eb:Node 2403056b-899c-4beb-be7c-23067facf1eb :: false

deleteSubnodes 1.151s
2023-06-04 22:44:54 |

2023-06-04 22:44:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:44:54 | ------------------------------------

2023-06-04 22:44:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59</node></data>

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

2023-06-04 22:44:55 | [Mutex] waiting for: [received:nodes:51754b92-b33c-4582-8de8-fbb87a7d1aa4:localhost]

2023-06-04 22:44:55 | [Mutex] waiting for: [received:nodes:51754b92-b33c-4582-8de8-fbb87a7d1aa4:localhost]

2023-06-04 22:44:55 | [Mutex] waiting for: [received:nodes:51754b92-b33c-4582-8de8-fbb87a7d1aa4:localhost]

2023-06-04 22:44:55 | [Mutex] waiting for: [received:nodes:51754b92-b33c-4582-8de8-fbb87a7d1aa4:localhost]

2023-06-04 22:44:55 | [Mutex] received everything.

2023-06-04 22:44:55 | [Mutex] isItemNotified: received:node:51754b92-b33c-4582-8de8-fbb87a7d1aa4:localhost:node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59:Node ed7a0fbc-4996-4567-a54f-5e96a15b8a59 :: false

2023-06-04 22:44:55 | [Mutex] waiting for: [received:nodes:1ee2ea6a-ceae-43ef-8313-0c6c7861becb:localhost]

2023-06-04 22:44:55 | [Mutex] received everything.

2023-06-04 22:44:55 | [Mutex] isItemNotified: received:node:1ee2ea6a-ceae-43ef-8313-0c6c7861becb:localhost:node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59:Node ed7a0fbc-4996-4567-a54f-5e96a15b8a59 :: false

publishItemsToNodes 0.222s
2023-06-04 22:44:52 |

2023-06-04 22:44:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:44:52 | ------------------------------------

2023-06-04 22:44:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59</node><item-id>item-490c3fdf-2a74-44f3-baae-3fe85935179a</item-id><entry><test>item-490c3fdf-2a74-44f3-baae-3fe85935179a</test></entry></data>

2023-06-04 22:44:52 | 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-490c3fdf-2a74-44f3-baae-3fe85935179a</value></item-id></result>

2023-06-04 22:44:52 | [Mutex] waiting for: [published:item:notifieditem-490c3fdf-2a74-44f3-baae-3fe85935179a:admin@test-domain.com]

2023-06-04 22:44:52 | [Mutex] received everything.

2023-06-04 22:44:52 | [Mutex] isItemNotified: published:item:notifieditem-490c3fdf-2a74-44f3-baae-3fe85935179a:admin@test-domain.com :: true

retractItemsFromNodes 0.244s
2023-06-04 22:44:53 |

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

2023-06-04 22:44:53 | ------------------------------------

2023-06-04 22:44:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59</node><item-id>item-490c3fdf-2a74-44f3-baae-3fe85935179a</item-id></data>

2023-06-04 22:44:53 | 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-490c3fdf-2a74-44f3-baae-3fe85935179a</value></item-id></result>

2023-06-04 22:44:53 | [Mutex] received everything.

2023-06-04 22:44:53 | [Mutex] isItemNotified: retracted:item:notifieditem-490c3fdf-2a74-44f3-baae-3fe85935179a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.185s
2023-06-04 22:44:52 |

2023-06-04 22:44:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:44:52 | ------------------------------------

2023-06-04 22:44:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59</node><item-id>item-490c3fdf-2a74-44f3-baae-3fe85935179a</item-id></data>

2023-06-04 22:44:52 | 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-ed7a0fbc-4996-4567-a54f-5e96a15b8a59</value></node><item-id type="text-single" label="Item ID"><value>item-490c3fdf-2a74-44f3-baae-3fe85935179a</value></item-id><item type="text-multi" label="Item"><value><item id="item-490c3fdf-2a74-44f3-baae-3fe85935179a"><test>item-490c3fdf-2a74-44f3-baae-3fe85935179a</test></item></value></item></result>

2023-06-04 22:44:52 | [Mutex] notify: [retrieved:item:item-490c3fdf-2a74-44f3-baae-3fe85935179a:payload-matches:true:localhost]

2023-06-04 22:44:52 | [Mutex] received everything.

2023-06-04 22:44:52 | [Mutex] isItemNotified: retrieved:item:item-490c3fdf-2a74-44f3-baae-3fe85935179a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-06-04 22:44:52 |

2023-06-04 22:44:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:44:52 | ------------------------------------

2023-06-04 22:44:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-06-04 22:44:52 | 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-2403056b-899c-4beb-be7c-23067facf1eb</value><value>node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2023-06-04 22:44:52 |

2023-06-04 22:44:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:44:52 | ------------------------------------

2023-06-04 22:44:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59)</node-pattern></data>

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

subscribeNodes 1.114s
2023-06-04 22:44:51 |

2023-06-04 22:44:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:44:51 | ------------------------------------

2023-06-04 22:44:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59</node><jids><value>admin@test-domain.com</value></jids></data>

2023-06-04 22:44: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.228s
2023-06-04 22:44:53 |

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

2023-06-04 22:44:53 | ------------------------------------

2023-06-04 22:44:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ed7a0fbc-4996-4567-a54f-5e96a15b8a59</node><jids><value>admin@test-domain.com</value></jids></data>

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