Generated by TestNG with ReportNG at 04:42 PST on Sunday 05 November 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.396s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2023-11-05 04:56:57 |

2023-11-05 04:56:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:56:57 | ------------------------------------

2023-11-05 04:56:57 | [Mutex] waiting for: [configured:node:node-41f7114f-e5ab-42d8-b102-891467b1c2a8:node-a446094d-2d0c-4dbb-9817-6e0a23794311]

2023-11-05 04:56:57 | [Mutex] received everything.

2023-11-05 04:56:57 | [Mutex] isItemNotified: configured:node:node-41f7114f-e5ab-42d8-b102-891467b1c2a8:node-a446094d-2d0c-4dbb-9817-6e0a23794311 :: true

2023-11-05 04:56:58 | [Mutex] waiting for: [received:nodes:2c9c442d-7b65-4791-9698-c722d95a9ec0:localhost]

2023-11-05 04:56:58 | [Mutex] received everything.

2023-11-05 04:56:58 | [Mutex] isItemNotified: received:node:2c9c442d-7b65-4791-9698-c722d95a9ec0:localhost:node-41f7114f-e5ab-42d8-b102-891467b1c2a8:Node 41f7114f-e5ab-42d8-b102-891467b1c2a8 :: true

2023-11-05 04:56:58 | [Mutex] waiting for: [received:nodes:f991ca90-8157-4201-b4d3-a178d6fef073:localhost]

2023-11-05 04:56:58 | [Mutex] waiting for: [received:nodes:f991ca90-8157-4201-b4d3-a178d6fef073:localhost]

2023-11-05 04:56:58 | [Mutex] waiting for: [received:nodes:f991ca90-8157-4201-b4d3-a178d6fef073:localhost]

2023-11-05 04:56:58 | [Mutex] waiting for: [received:nodes:f991ca90-8157-4201-b4d3-a178d6fef073:localhost]

2023-11-05 04:56:58 | [Mutex] received everything.

2023-11-05 04:56:58 | [Mutex] isItemNotified: received:node:f991ca90-8157-4201-b4d3-a178d6fef073:localhost:node-41f7114f-e5ab-42d8-b102-891467b1c2a8:Node 41f7114f-e5ab-42d8-b102-891467b1c2a8 :: false

createNodes 1.436s
2023-11-05 04:56:54 |

2023-11-05 04:56:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:56:54 | ------------------------------------

2023-11-05 04:56:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-41f7114f-e5ab-42d8-b102-891467b1c2a8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 41f7114f-e5ab-42d8-b102-891467b1c2a8</title></pubsub></data>

2023-11-05 04:56:55 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 04:56:56 | [Mutex] waiting for: [received:nodes:befeaf17-1809-43c1-b134-60cbfae2f011:localhost]

2023-11-05 04:56:56 | [Mutex] waiting for: [received:nodes:befeaf17-1809-43c1-b134-60cbfae2f011:localhost]

2023-11-05 04:56:56 | [Mutex] waiting for: [received:nodes:befeaf17-1809-43c1-b134-60cbfae2f011:localhost]

2023-11-05 04:56:56 | [Mutex] received everything.

2023-11-05 04:56:56 | [Mutex] isItemNotified: received:node:befeaf17-1809-43c1-b134-60cbfae2f011:localhost:node-41f7114f-e5ab-42d8-b102-891467b1c2a8:Node 41f7114f-e5ab-42d8-b102-891467b1c2a8 :: true

createSubnodes 1.025s
2023-11-05 04:56:56 |

2023-11-05 04:56:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:56:56 | ------------------------------------

2023-11-05 04:56:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a446094d-2d0c-4dbb-9817-6e0a23794311</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a446094d-2d0c-4dbb-9817-6e0a23794311</title></pubsub></data>

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

2023-11-05 04:56:57 | [Mutex] waiting for: [received:nodes:36ba0d7d-8569-4d1c-9179-5a3415f1687d:localhost]

2023-11-05 04:56:57 | [Mutex] waiting for: [received:nodes:36ba0d7d-8569-4d1c-9179-5a3415f1687d:localhost]

2023-11-05 04:56:57 | [Mutex] waiting for: [received:nodes:36ba0d7d-8569-4d1c-9179-5a3415f1687d:localhost]

2023-11-05 04:56:57 | [Mutex] waiting for: [received:nodes:36ba0d7d-8569-4d1c-9179-5a3415f1687d:localhost]

2023-11-05 04:56:57 | [Mutex] received everything.

2023-11-05 04:56:57 | [Mutex] isItemNotified: received:node:36ba0d7d-8569-4d1c-9179-5a3415f1687d:localhost:node-a446094d-2d0c-4dbb-9817-6e0a23794311:Node a446094d-2d0c-4dbb-9817-6e0a23794311 :: true

deleteNodes 1.019s
2023-11-05 04:57:02 |

2023-11-05 04:57:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:57:02 | ------------------------------------

2023-11-05 04:57:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a446094d-2d0c-4dbb-9817-6e0a23794311</node></data>

2023-11-05 04:57:02 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 04:57:03 | [Mutex] waiting for: [received:nodes:5b579d39-4599-4d1f-b109-2b98c18ffd77:localhost]

2023-11-05 04:57:03 | [Mutex] waiting for: [received:nodes:5b579d39-4599-4d1f-b109-2b98c18ffd77:localhost]

2023-11-05 04:57:03 | [Mutex] waiting for: [received:nodes:5b579d39-4599-4d1f-b109-2b98c18ffd77:localhost]

2023-11-05 04:57:03 | [Mutex] received everything.

2023-11-05 04:57:03 | [Mutex] isItemNotified: received:node:5b579d39-4599-4d1f-b109-2b98c18ffd77:localhost:node-a446094d-2d0c-4dbb-9817-6e0a23794311:Node a446094d-2d0c-4dbb-9817-6e0a23794311 :: false

deleteSubnodes 1.102s
2023-11-05 04:57:01 |

2023-11-05 04:57:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:57:01 | ------------------------------------

2023-11-05 04:57:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-41f7114f-e5ab-42d8-b102-891467b1c2a8</node></data>

2023-11-05 04:57:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 04:57:02 | [Mutex] waiting for: [received:nodes:c0f425cf-9d27-4ee9-a449-256e00c3ff51:localhost]

2023-11-05 04:57:02 | [Mutex] received everything.

2023-11-05 04:57:02 | [Mutex] isItemNotified: received:node:c0f425cf-9d27-4ee9-a449-256e00c3ff51:localhost:node-41f7114f-e5ab-42d8-b102-891467b1c2a8:Node 41f7114f-e5ab-42d8-b102-891467b1c2a8 :: false

2023-11-05 04:57:02 | [Mutex] waiting for: [received:nodes:fc2a396f-c50b-4072-93e5-b6ab48e8909c:localhost]

2023-11-05 04:57:02 | [Mutex] received everything.

2023-11-05 04:57:02 | [Mutex] isItemNotified: received:node:fc2a396f-c50b-4072-93e5-b6ab48e8909c:localhost:node-41f7114f-e5ab-42d8-b102-891467b1c2a8:Node 41f7114f-e5ab-42d8-b102-891467b1c2a8 :: false

publishItemsToNodes 0.179s
2023-11-05 04:56:59 |

2023-11-05 04:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:56:59 | ------------------------------------

2023-11-05 04:56:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-41f7114f-e5ab-42d8-b102-891467b1c2a8</node><item-id>item-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb</item-id><entry><test>item-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb</test></entry></data>

2023-11-05 04:56:59 | 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-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb</value></item-id></result>

2023-11-05 04:56:59 | [Mutex] received everything.

2023-11-05 04:56:59 | [Mutex] isItemNotified: published:item:notifieditem-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb:admin@test-domain.com :: true

retractItemsFromNodes 0.255s
2023-11-05 04:56:59 |

2023-11-05 04:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:56:59 | ------------------------------------

2023-11-05 04:56:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-41f7114f-e5ab-42d8-b102-891467b1c2a8</node><item-id>item-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb</item-id></data>

2023-11-05 04:57:00 | 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-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb</value></item-id></result>

2023-11-05 04:57:00 | [Mutex] received everything.

2023-11-05 04:57:00 | [Mutex] isItemNotified: retracted:item:notifieditem-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.204s
2023-11-05 04:56:59 |

2023-11-05 04:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:56:59 | ------------------------------------

2023-11-05 04:56:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-41f7114f-e5ab-42d8-b102-891467b1c2a8</node><item-id>item-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb</item-id></data>

2023-11-05 04:56:59 | 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-41f7114f-e5ab-42d8-b102-891467b1c2a8</value></node><item-id label="Item ID" type="text-single"><value>item-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb</value></item-id><item label="Item" type="text-multi"><value><item id="item-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb"><test>item-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb</test></item></value></item></result>

2023-11-05 04:56:59 | [Mutex] notify: [retrieved:item:item-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb:payload-matches:true:localhost]

2023-11-05 04:56:59 | [Mutex] received everything.

2023-11-05 04:56:59 | [Mutex] isItemNotified: retrieved:item:item-33ba3623-82a7-4ef4-a8d0-cc12079f9fcb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-11-05 04:56:59 |

2023-11-05 04:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:56:59 | ------------------------------------

2023-11-05 04:56:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-11-05 04:56:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-a446094d-2d0c-4dbb-9817-6e0a23794311</value><value>test</value><value>node-41f7114f-e5ab-42d8-b102-891467b1c2a8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-11-05 04:56:59 |

2023-11-05 04:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:56:59 | ------------------------------------

2023-11-05 04:56:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-41f7114f-e5ab-42d8-b102-891467b1c2a8)</node-pattern></data>

2023-11-05 04:56:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.174s
2023-11-05 04:56:58 |

2023-11-05 04:56:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:56:58 | ------------------------------------

2023-11-05 04:56:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-41f7114f-e5ab-42d8-b102-891467b1c2a8</node><jids><value>admin@test-domain.com</value></jids></data>

2023-11-05 04:56:58 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2023-11-05 04:57:00 |

2023-11-05 04:57:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 04:57:00 | ------------------------------------

2023-11-05 04:57:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-41f7114f-e5ab-42d8-b102-891467b1c2a8</node><jids><value>admin@test-domain.com</value></jids></data>

2023-11-05 04:57:00 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>