Generated by TestNG with ReportNG at 22:16 PDT on Tuesday 11 July 2023
root@1512af24e4a5 / 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.481s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2023-07-11 22:30:55 |

2023-07-11 22:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:55 | ------------------------------------

2023-07-11 22:30:55 | [Mutex] waiting for: [configured:node:node-99fe0c67-14b8-4ae9-a582-2666961963b9:node-c8189ed0-f38f-4595-93b9-02cc786186fd]

2023-07-11 22:30:55 | [Mutex] received everything.

2023-07-11 22:30:55 | [Mutex] isItemNotified: configured:node:node-99fe0c67-14b8-4ae9-a582-2666961963b9:node-c8189ed0-f38f-4595-93b9-02cc786186fd :: true

2023-07-11 22:30:56 | [Mutex] waiting for: [received:nodes:89d7ea14-8c29-4e51-af8f-fd863cb4d062:localhost]

2023-07-11 22:30:56 | [Mutex] received everything.

2023-07-11 22:30:56 | [Mutex] isItemNotified: received:node:89d7ea14-8c29-4e51-af8f-fd863cb4d062:localhost:node-99fe0c67-14b8-4ae9-a582-2666961963b9:Node 99fe0c67-14b8-4ae9-a582-2666961963b9 :: true

2023-07-11 22:30:56 | [Mutex] waiting for: [received:nodes:3b5d0d8d-ad5a-422f-84eb-e7300cb5487b:localhost]

2023-07-11 22:30:56 | [Mutex] waiting for: [received:nodes:3b5d0d8d-ad5a-422f-84eb-e7300cb5487b:localhost]

2023-07-11 22:30:56 | [Mutex] waiting for: [received:nodes:3b5d0d8d-ad5a-422f-84eb-e7300cb5487b:localhost]

2023-07-11 22:30:56 | [Mutex] waiting for: [received:nodes:3b5d0d8d-ad5a-422f-84eb-e7300cb5487b:localhost]

2023-07-11 22:30:56 | [Mutex] received everything.

2023-07-11 22:30:56 | [Mutex] isItemNotified: received:node:3b5d0d8d-ad5a-422f-84eb-e7300cb5487b:localhost:node-99fe0c67-14b8-4ae9-a582-2666961963b9:Node 99fe0c67-14b8-4ae9-a582-2666961963b9 :: false

createNodes 1.421s
2023-07-11 22:30:53 |

2023-07-11 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:53 | ------------------------------------

2023-07-11 22:30:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-99fe0c67-14b8-4ae9-a582-2666961963b9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 99fe0c67-14b8-4ae9-a582-2666961963b9</title></pubsub></data>

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

2023-07-11 22:30:54 | [Mutex] waiting for: [received:nodes:3ea5610f-cf75-4e8e-9a06-81be32988add:localhost]

2023-07-11 22:30:54 | [Mutex] waiting for: [received:nodes:3ea5610f-cf75-4e8e-9a06-81be32988add:localhost]

2023-07-11 22:30:54 | [Mutex] waiting for: [received:nodes:3ea5610f-cf75-4e8e-9a06-81be32988add:localhost]

2023-07-11 22:30:54 | [Mutex] waiting for: [received:nodes:3ea5610f-cf75-4e8e-9a06-81be32988add:localhost]

2023-07-11 22:30:54 | [Mutex] received everything.

2023-07-11 22:30:54 | [Mutex] isItemNotified: received:node:3ea5610f-cf75-4e8e-9a06-81be32988add:localhost:node-99fe0c67-14b8-4ae9-a582-2666961963b9:Node 99fe0c67-14b8-4ae9-a582-2666961963b9 :: true

createSubnodes 1.050s
2023-07-11 22:30:54 |

2023-07-11 22:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:54 | ------------------------------------

2023-07-11 22:30:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c8189ed0-f38f-4595-93b9-02cc786186fd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c8189ed0-f38f-4595-93b9-02cc786186fd</title></pubsub></data>

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

2023-07-11 22:30:55 | [Mutex] waiting for: [received:nodes:b67e4a4e-fddb-49a6-9bbf-86412e926f3f:localhost]

2023-07-11 22:30:55 | [Mutex] waiting for: [received:nodes:b67e4a4e-fddb-49a6-9bbf-86412e926f3f:localhost]

2023-07-11 22:30:55 | [Mutex] waiting for: [received:nodes:b67e4a4e-fddb-49a6-9bbf-86412e926f3f:localhost]

2023-07-11 22:30:55 | [Mutex] waiting for: [received:nodes:b67e4a4e-fddb-49a6-9bbf-86412e926f3f:localhost]

2023-07-11 22:30:55 | [Mutex] received everything.

2023-07-11 22:30:55 | [Mutex] isItemNotified: received:node:b67e4a4e-fddb-49a6-9bbf-86412e926f3f:localhost:node-c8189ed0-f38f-4595-93b9-02cc786186fd:Node c8189ed0-f38f-4595-93b9-02cc786186fd :: true

deleteNodes 1.016s
2023-07-11 22:31:01 |

2023-07-11 22:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:31:01 | ------------------------------------

2023-07-11 22:31:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c8189ed0-f38f-4595-93b9-02cc786186fd</node></data>

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

2023-07-11 22:31:02 | [Mutex] waiting for: [received:nodes:bf799091-0e2b-4088-bc97-ae2fe748d2eb:localhost]

2023-07-11 22:31:02 | [Mutex] waiting for: [received:nodes:bf799091-0e2b-4088-bc97-ae2fe748d2eb:localhost]

2023-07-11 22:31:02 | [Mutex] waiting for: [received:nodes:bf799091-0e2b-4088-bc97-ae2fe748d2eb:localhost]

2023-07-11 22:31:02 | [Mutex] received everything.

2023-07-11 22:31:02 | [Mutex] isItemNotified: received:node:bf799091-0e2b-4088-bc97-ae2fe748d2eb:localhost:node-c8189ed0-f38f-4595-93b9-02cc786186fd:Node c8189ed0-f38f-4595-93b9-02cc786186fd :: false

deleteSubnodes 1.120s
2023-07-11 22:30:59 |

2023-07-11 22:30:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:59 | ------------------------------------

2023-07-11 22:30:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-99fe0c67-14b8-4ae9-a582-2666961963b9</node></data>

2023-07-11 22:31:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-11 22:31:01 | [Mutex] waiting for: [received:nodes:6e65c3a7-8322-4bca-8059-a736a86d850b:localhost]

2023-07-11 22:31:01 | [Mutex] waiting for: [received:nodes:6e65c3a7-8322-4bca-8059-a736a86d850b:localhost]

2023-07-11 22:31:01 | [Mutex] waiting for: [received:nodes:6e65c3a7-8322-4bca-8059-a736a86d850b:localhost]

2023-07-11 22:31:01 | [Mutex] waiting for: [received:nodes:6e65c3a7-8322-4bca-8059-a736a86d850b:localhost]

2023-07-11 22:31:01 | [Mutex] received everything.

2023-07-11 22:31:01 | [Mutex] isItemNotified: received:node:6e65c3a7-8322-4bca-8059-a736a86d850b:localhost:node-99fe0c67-14b8-4ae9-a582-2666961963b9:Node 99fe0c67-14b8-4ae9-a582-2666961963b9 :: false

2023-07-11 22:31:01 | [Mutex] waiting for: [received:nodes:716a1179-5230-4b0f-bfd2-536164027134:localhost]

2023-07-11 22:31:01 | [Mutex] received everything.

2023-07-11 22:31:01 | [Mutex] isItemNotified: received:node:716a1179-5230-4b0f-bfd2-536164027134:localhost:node-99fe0c67-14b8-4ae9-a582-2666961963b9:Node 99fe0c67-14b8-4ae9-a582-2666961963b9 :: false

publishItemsToNodes 0.238s
2023-07-11 22:30:57 |

2023-07-11 22:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:57 | ------------------------------------

2023-07-11 22:30:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-99fe0c67-14b8-4ae9-a582-2666961963b9</node><item-id>item-20d24103-a90d-4c86-926d-3088ebd7f969</item-id><entry><test>item-20d24103-a90d-4c86-926d-3088ebd7f969</test></entry></data>

2023-07-11 22:30:58 | 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-20d24103-a90d-4c86-926d-3088ebd7f969</value></item-id></result>

2023-07-11 22:30:58 | [Mutex] received everything.

2023-07-11 22:30:58 | [Mutex] isItemNotified: published:item:notifieditem-20d24103-a90d-4c86-926d-3088ebd7f969:admin@test-domain.com :: true

retractItemsFromNodes 0.293s
2023-07-11 22:30:58 |

2023-07-11 22:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:58 | ------------------------------------

2023-07-11 22:30:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-99fe0c67-14b8-4ae9-a582-2666961963b9</node><item-id>item-20d24103-a90d-4c86-926d-3088ebd7f969</item-id></data>

2023-07-11 22:30:58 | 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-20d24103-a90d-4c86-926d-3088ebd7f969</value></item-id></result>

2023-07-11 22:30:58 | [Mutex] received everything.

2023-07-11 22:30:58 | [Mutex] isItemNotified: retracted:item:notifieditem-20d24103-a90d-4c86-926d-3088ebd7f969:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2023-07-11 22:30:58 |

2023-07-11 22:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:58 | ------------------------------------

2023-07-11 22:30:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-99fe0c67-14b8-4ae9-a582-2666961963b9</node><item-id>item-20d24103-a90d-4c86-926d-3088ebd7f969</item-id></data>

2023-07-11 22:30:58 | 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-99fe0c67-14b8-4ae9-a582-2666961963b9</value></node><item-id type="text-single" label="Item ID"><value>item-20d24103-a90d-4c86-926d-3088ebd7f969</value></item-id><item type="text-multi" label="Item"><value><item id="item-20d24103-a90d-4c86-926d-3088ebd7f969"><test>item-20d24103-a90d-4c86-926d-3088ebd7f969</test></item></value></item></result>

2023-07-11 22:30:58 | [Mutex] notify: [retrieved:item:item-20d24103-a90d-4c86-926d-3088ebd7f969:payload-matches:true:localhost]

2023-07-11 22:30:58 | [Mutex] received everything.

2023-07-11 22:30:58 | [Mutex] isItemNotified: retrieved:item:item-20d24103-a90d-4c86-926d-3088ebd7f969:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-11 22:30:58 |

2023-07-11 22:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:58 | ------------------------------------

2023-07-11 22:30:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-11 22:30:58 | 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-99fe0c67-14b8-4ae9-a582-2666961963b9</value><value>node-c8189ed0-f38f-4595-93b9-02cc786186fd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-11 22:30:58 |

2023-07-11 22:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:58 | ------------------------------------

2023-07-11 22:30:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-99fe0c67-14b8-4ae9-a582-2666961963b9)</node-pattern></data>

2023-07-11 22:30:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.154s
2023-07-11 22:30:56 |

2023-07-11 22:30:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:56 | ------------------------------------

2023-07-11 22:30:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-99fe0c67-14b8-4ae9-a582-2666961963b9</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.187s
2023-07-11 22:30:58 |

2023-07-11 22:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-11 22:30:58 | ------------------------------------

2023-07-11 22:30:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-99fe0c67-14b8-4ae9-a582-2666961963b9</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-11 22:30:58 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>