Generated by TestNG with ReportNG at 23:12 PDT on Sunday 23 October 2022
root@f9c07ffec79b / 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.407s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2022-10-23 23:33:54 |

2022-10-23 23:33:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:54 | ------------------------------------

2022-10-23 23:33:54 | [Mutex] waiting for: [configured:node:node-49efce07-49e8-49e8-aaa3-9ac125ad1837:node-d5d6d013-6982-46ae-bea9-d010cc05fa87]

2022-10-23 23:33:54 | [Mutex] received everything.

2022-10-23 23:33:54 | [Mutex] isItemNotified: configured:node:node-49efce07-49e8-49e8-aaa3-9ac125ad1837:node-d5d6d013-6982-46ae-bea9-d010cc05fa87 :: true

2022-10-23 23:33:55 | [Mutex] waiting for: [received:nodes:f1055b94-5081-4567-8f4b-522db4286322:localhost]

2022-10-23 23:33:55 | [Mutex] received everything.

2022-10-23 23:33:55 | [Mutex] isItemNotified: received:node:f1055b94-5081-4567-8f4b-522db4286322:localhost:node-49efce07-49e8-49e8-aaa3-9ac125ad1837:Node 49efce07-49e8-49e8-aaa3-9ac125ad1837 :: true

2022-10-23 23:33:55 | [Mutex] waiting for: [received:nodes:eae78368-8b78-4591-a93e-0c483b2c7f5f:localhost]

2022-10-23 23:33:56 | [Mutex] received everything.

2022-10-23 23:33:56 | [Mutex] isItemNotified: received:node:eae78368-8b78-4591-a93e-0c483b2c7f5f:localhost:node-49efce07-49e8-49e8-aaa3-9ac125ad1837:Node 49efce07-49e8-49e8-aaa3-9ac125ad1837 :: false

createNodes 1.393s
2022-10-23 23:33:52 |

2022-10-23 23:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:52 | ------------------------------------

2022-10-23 23:33:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-49efce07-49e8-49e8-aaa3-9ac125ad1837</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 49efce07-49e8-49e8-aaa3-9ac125ad1837</title></pubsub></data>

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

2022-10-23 23:33:53 | [Mutex] waiting for: [received:nodes:c0350b9e-e4fd-4806-911d-823a82a9dd65:localhost]

2022-10-23 23:33:53 | [Mutex] received everything.

2022-10-23 23:33:53 | [Mutex] isItemNotified: received:node:c0350b9e-e4fd-4806-911d-823a82a9dd65:localhost:node-49efce07-49e8-49e8-aaa3-9ac125ad1837:Node 49efce07-49e8-49e8-aaa3-9ac125ad1837 :: true

createSubnodes 1.023s
2022-10-23 23:33:53 |

2022-10-23 23:33:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:53 | ------------------------------------

2022-10-23 23:33:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d5d6d013-6982-46ae-bea9-d010cc05fa87</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d5d6d013-6982-46ae-bea9-d010cc05fa87</title></pubsub></data>

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

2022-10-23 23:33:54 | [Mutex] waiting for: [received:nodes:939cc00a-bb27-4a15-97aa-cd3289fc647c:localhost]

2022-10-23 23:33:54 | [Mutex] received everything.

2022-10-23 23:33:54 | [Mutex] isItemNotified: received:node:939cc00a-bb27-4a15-97aa-cd3289fc647c:localhost:node-d5d6d013-6982-46ae-bea9-d010cc05fa87:Node d5d6d013-6982-46ae-bea9-d010cc05fa87 :: true

deleteNodes 1.016s
2022-10-23 23:34:00 |

2022-10-23 23:34:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:34:00 | ------------------------------------

2022-10-23 23:34:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d5d6d013-6982-46ae-bea9-d010cc05fa87</node></data>

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

2022-10-23 23:34:01 | [Mutex] waiting for: [received:nodes:23c4ccc3-2a06-4b39-91cc-109918e7bb66:localhost]

2022-10-23 23:34:01 | [Mutex] waiting for: [received:nodes:23c4ccc3-2a06-4b39-91cc-109918e7bb66:localhost]

2022-10-23 23:34:01 | [Mutex] received everything.

2022-10-23 23:34:01 | [Mutex] isItemNotified: received:node:23c4ccc3-2a06-4b39-91cc-109918e7bb66:localhost:node-d5d6d013-6982-46ae-bea9-d010cc05fa87:Node d5d6d013-6982-46ae-bea9-d010cc05fa87 :: false

deleteSubnodes 1.120s
2022-10-23 23:33:59 |

2022-10-23 23:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:59 | ------------------------------------

2022-10-23 23:33:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-49efce07-49e8-49e8-aaa3-9ac125ad1837</node></data>

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

2022-10-23 23:34:00 | [Mutex] waiting for: [received:nodes:31fa3501-e2de-4793-a14a-2c3520fb97db:localhost]

2022-10-23 23:34:00 | [Mutex] received everything.

2022-10-23 23:34:00 | [Mutex] isItemNotified: received:node:31fa3501-e2de-4793-a14a-2c3520fb97db:localhost:node-49efce07-49e8-49e8-aaa3-9ac125ad1837:Node 49efce07-49e8-49e8-aaa3-9ac125ad1837 :: false

2022-10-23 23:34:00 | [Mutex] waiting for: [received:nodes:91df1070-cb1a-4f8c-b863-aceb1cc0c27d:localhost]

2022-10-23 23:34:00 | [Mutex] received everything.

2022-10-23 23:34:00 | [Mutex] isItemNotified: received:node:91df1070-cb1a-4f8c-b863-aceb1cc0c27d:localhost:node-49efce07-49e8-49e8-aaa3-9ac125ad1837:Node 49efce07-49e8-49e8-aaa3-9ac125ad1837 :: false

publishItemsToNodes 0.242s
2022-10-23 23:33:57 |

2022-10-23 23:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:57 | ------------------------------------

2022-10-23 23:33:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-49efce07-49e8-49e8-aaa3-9ac125ad1837</node><item-id>item-379c2174-f945-44af-b101-61821e4dff3c</item-id><entry><test>item-379c2174-f945-44af-b101-61821e4dff3c</test></entry></data>

2022-10-23 23:33:57 | 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-379c2174-f945-44af-b101-61821e4dff3c</value></item-id></result>

2022-10-23 23:33:57 | [Mutex] waiting for: [published:item:notifieditem-379c2174-f945-44af-b101-61821e4dff3c:admin@test-domain.com]

2022-10-23 23:33:57 | [Mutex] received everything.

2022-10-23 23:33:57 | [Mutex] isItemNotified: published:item:notifieditem-379c2174-f945-44af-b101-61821e4dff3c:admin@test-domain.com :: true

retractItemsFromNodes 0.240s
2022-10-23 23:33:57 |

2022-10-23 23:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:57 | ------------------------------------

2022-10-23 23:33:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-49efce07-49e8-49e8-aaa3-9ac125ad1837</node><item-id>item-379c2174-f945-44af-b101-61821e4dff3c</item-id></data>

2022-10-23 23:33:57 | 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-379c2174-f945-44af-b101-61821e4dff3c</value></item-id></result>

2022-10-23 23:33:57 | [Mutex] received everything.

2022-10-23 23:33:57 | [Mutex] isItemNotified: retracted:item:notifieditem-379c2174-f945-44af-b101-61821e4dff3c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.162s
2022-10-23 23:33:57 |

2022-10-23 23:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:57 | ------------------------------------

2022-10-23 23:33:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-49efce07-49e8-49e8-aaa3-9ac125ad1837</node><item-id>item-379c2174-f945-44af-b101-61821e4dff3c</item-id></data>

2022-10-23 23:33:57 | 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-49efce07-49e8-49e8-aaa3-9ac125ad1837</value></node><item-id label="Item ID" type="text-single"><value>item-379c2174-f945-44af-b101-61821e4dff3c</value></item-id><item label="Item" type="text-multi"><value><item id="item-379c2174-f945-44af-b101-61821e4dff3c"><test>item-379c2174-f945-44af-b101-61821e4dff3c</test></item></value></item></result>

2022-10-23 23:33:57 | [Mutex] notify: [retrieved:item:item-379c2174-f945-44af-b101-61821e4dff3c:payload-matches:true:localhost]

2022-10-23 23:33:57 | [Mutex] received everything.

2022-10-23 23:33:57 | [Mutex] isItemNotified: retrieved:item:item-379c2174-f945-44af-b101-61821e4dff3c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-10-23 23:33:57 |

2022-10-23 23:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:57 | ------------------------------------

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

2022-10-23 23:33:57 | 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-d5d6d013-6982-46ae-bea9-d010cc05fa87</value><value>node-49efce07-49e8-49e8-aaa3-9ac125ad1837</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2022-10-23 23:33:57 |

2022-10-23 23:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:57 | ------------------------------------

2022-10-23 23:33:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-49efce07-49e8-49e8-aaa3-9ac125ad1837)</node-pattern></data>

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

subscribeNodes 1.141s
2022-10-23 23:33:56 |

2022-10-23 23:33:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:56 | ------------------------------------

2022-10-23 23:33:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-49efce07-49e8-49e8-aaa3-9ac125ad1837</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-23 23:33: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.171s
2022-10-23 23:33:57 |

2022-10-23 23:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-23 23:33:57 | ------------------------------------

2022-10-23 23:33:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-49efce07-49e8-49e8-aaa3-9ac125ad1837</node><jids><value>admin@test-domain.com</value></jids></data>

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