Generated by TestNG with ReportNG at 22:49 PDT on Wednesday 05 July 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.544s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2023-07-05 23:04:00 |

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

2023-07-05 23:04:00 | ------------------------------------

2023-07-05 23:04:00 | [Mutex] waiting for: [configured:node:node-c2f1be25-d040-4502-9602-f34e51968e29:node-91aa8e7b-fb5c-4cb8-af23-7306d7479c66]

2023-07-05 23:04:00 | [Mutex] received everything.

2023-07-05 23:04:00 | [Mutex] isItemNotified: configured:node:node-c2f1be25-d040-4502-9602-f34e51968e29:node-91aa8e7b-fb5c-4cb8-af23-7306d7479c66 :: true

2023-07-05 23:04:01 | [Mutex] waiting for: [received:nodes:7874e302-5575-4b1d-a2c2-14b4c516393a:localhost]

2023-07-05 23:04:01 | [Mutex] received everything.

2023-07-05 23:04:01 | [Mutex] isItemNotified: received:node:7874e302-5575-4b1d-a2c2-14b4c516393a:localhost:node-c2f1be25-d040-4502-9602-f34e51968e29:Node c2f1be25-d040-4502-9602-f34e51968e29 :: true

2023-07-05 23:04:01 | [Mutex] waiting for: [received:nodes:049183ea-6b23-4877-9143-b30b9a54de3a:localhost]

2023-07-05 23:04:01 | [Mutex] waiting for: [received:nodes:049183ea-6b23-4877-9143-b30b9a54de3a:localhost]

2023-07-05 23:04:01 | [Mutex] waiting for: [received:nodes:049183ea-6b23-4877-9143-b30b9a54de3a:localhost]

2023-07-05 23:04:01 | [Mutex] received everything.

2023-07-05 23:04:01 | [Mutex] isItemNotified: received:node:049183ea-6b23-4877-9143-b30b9a54de3a:localhost:node-c2f1be25-d040-4502-9602-f34e51968e29:Node c2f1be25-d040-4502-9602-f34e51968e29 :: false

createNodes 1.469s
2023-07-05 23:03:57 |

2023-07-05 23:03:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:03:57 | ------------------------------------

2023-07-05 23:03:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c2f1be25-d040-4502-9602-f34e51968e29</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c2f1be25-d040-4502-9602-f34e51968e29</title></pubsub></data>

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

2023-07-05 23:03:59 | [Mutex] waiting for: [received:nodes:465815c9-1517-4d83-b420-7b9138ceb39c:localhost]

2023-07-05 23:03:59 | [Mutex] received everything.

2023-07-05 23:03:59 | [Mutex] isItemNotified: received:node:465815c9-1517-4d83-b420-7b9138ceb39c:localhost:node-c2f1be25-d040-4502-9602-f34e51968e29:Node c2f1be25-d040-4502-9602-f34e51968e29 :: true

createSubnodes 1.031s
2023-07-05 23:03:59 |

2023-07-05 23:03:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:03:59 | ------------------------------------

2023-07-05 23:03:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-91aa8e7b-fb5c-4cb8-af23-7306d7479c66</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 91aa8e7b-fb5c-4cb8-af23-7306d7479c66</title></pubsub></data>

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

2023-07-05 23:04:00 | [Mutex] waiting for: [received:nodes:0b543d0d-ebe2-4668-865f-cb6d85759dab:localhost]

2023-07-05 23:04:00 | [Mutex] waiting for: [received:nodes:0b543d0d-ebe2-4668-865f-cb6d85759dab:localhost]

2023-07-05 23:04:00 | [Mutex] waiting for: [received:nodes:0b543d0d-ebe2-4668-865f-cb6d85759dab:localhost]

2023-07-05 23:04:00 | [Mutex] waiting for: [received:nodes:0b543d0d-ebe2-4668-865f-cb6d85759dab:localhost]

2023-07-05 23:04:00 | [Mutex] received everything.

2023-07-05 23:04:00 | [Mutex] isItemNotified: received:node:0b543d0d-ebe2-4668-865f-cb6d85759dab:localhost:node-91aa8e7b-fb5c-4cb8-af23-7306d7479c66:Node 91aa8e7b-fb5c-4cb8-af23-7306d7479c66 :: true

deleteNodes 1.020s
2023-07-05 23:04:05 |

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

2023-07-05 23:04:05 | ------------------------------------

2023-07-05 23:04:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-91aa8e7b-fb5c-4cb8-af23-7306d7479c66</node></data>

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

2023-07-05 23:04:06 | [Mutex] waiting for: [received:nodes:a0dfc2cf-bad5-455e-8142-b6f7d6a18bd9:localhost]

2023-07-05 23:04:06 | [Mutex] waiting for: [received:nodes:a0dfc2cf-bad5-455e-8142-b6f7d6a18bd9:localhost]

2023-07-05 23:04:06 | [Mutex] received everything.

2023-07-05 23:04:06 | [Mutex] isItemNotified: received:node:a0dfc2cf-bad5-455e-8142-b6f7d6a18bd9:localhost:node-91aa8e7b-fb5c-4cb8-af23-7306d7479c66:Node 91aa8e7b-fb5c-4cb8-af23-7306d7479c66 :: false

deleteSubnodes 1.110s
2023-07-05 23:04:04 |

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

2023-07-05 23:04:04 | ------------------------------------

2023-07-05 23:04:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c2f1be25-d040-4502-9602-f34e51968e29</node></data>

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

2023-07-05 23:04:05 | [Mutex] waiting for: [received:nodes:1aeef4ca-7a5f-4f31-a360-1a27c117ada0:localhost]

2023-07-05 23:04:05 | [Mutex] waiting for: [received:nodes:1aeef4ca-7a5f-4f31-a360-1a27c117ada0:localhost]

2023-07-05 23:04:05 | [Mutex] waiting for: [received:nodes:1aeef4ca-7a5f-4f31-a360-1a27c117ada0:localhost]

2023-07-05 23:04:05 | [Mutex] waiting for: [received:nodes:1aeef4ca-7a5f-4f31-a360-1a27c117ada0:localhost]

2023-07-05 23:04:05 | [Mutex] received everything.

2023-07-05 23:04:05 | [Mutex] isItemNotified: received:node:1aeef4ca-7a5f-4f31-a360-1a27c117ada0:localhost:node-c2f1be25-d040-4502-9602-f34e51968e29:Node c2f1be25-d040-4502-9602-f34e51968e29 :: false

2023-07-05 23:04:05 | [Mutex] waiting for: [received:nodes:b7c0f58c-3a2a-44a8-9719-014f879f3728:localhost]

2023-07-05 23:04:05 | [Mutex] received everything.

2023-07-05 23:04:05 | [Mutex] isItemNotified: received:node:b7c0f58c-3a2a-44a8-9719-014f879f3728:localhost:node-c2f1be25-d040-4502-9602-f34e51968e29:Node c2f1be25-d040-4502-9602-f34e51968e29 :: false

publishItemsToNodes 0.298s
2023-07-05 23:04:02 |

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

2023-07-05 23:04:02 | ------------------------------------

2023-07-05 23:04:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c2f1be25-d040-4502-9602-f34e51968e29</node><item-id>item-b8a37f49-fe16-4eb9-a54a-2fd64da9df32</item-id><entry><test>item-b8a37f49-fe16-4eb9-a54a-2fd64da9df32</test></entry></data>

2023-07-05 23:04:02 | 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-b8a37f49-fe16-4eb9-a54a-2fd64da9df32</value></item-id></result>

2023-07-05 23:04:02 | [Mutex] waiting for: [published:item:notifieditem-b8a37f49-fe16-4eb9-a54a-2fd64da9df32:admin@test-domain.com]

2023-07-05 23:04:02 | [Mutex] received everything.

2023-07-05 23:04:02 | [Mutex] isItemNotified: published:item:notifieditem-b8a37f49-fe16-4eb9-a54a-2fd64da9df32:admin@test-domain.com :: true

retractItemsFromNodes 0.261s
2023-07-05 23:04:03 |

2023-07-05 23:04:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:03 | ------------------------------------

2023-07-05 23:04:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c2f1be25-d040-4502-9602-f34e51968e29</node><item-id>item-b8a37f49-fe16-4eb9-a54a-2fd64da9df32</item-id></data>

2023-07-05 23:04:03 | 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-b8a37f49-fe16-4eb9-a54a-2fd64da9df32</value></item-id></result>

2023-07-05 23:04:03 | [Mutex] received everything.

2023-07-05 23:04:03 | [Mutex] isItemNotified: retracted:item:notifieditem-b8a37f49-fe16-4eb9-a54a-2fd64da9df32:admin@test-domain.com :: true

retrieveItemsFromNodes 0.183s
2023-07-05 23:04:02 |

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

2023-07-05 23:04:02 | ------------------------------------

2023-07-05 23:04:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c2f1be25-d040-4502-9602-f34e51968e29</node><item-id>item-b8a37f49-fe16-4eb9-a54a-2fd64da9df32</item-id></data>

2023-07-05 23:04:03 | 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-c2f1be25-d040-4502-9602-f34e51968e29</value></node><item-id label="Item ID" type="text-single"><value>item-b8a37f49-fe16-4eb9-a54a-2fd64da9df32</value></item-id><item label="Item" type="text-multi"><value><item id="item-b8a37f49-fe16-4eb9-a54a-2fd64da9df32"><test>item-b8a37f49-fe16-4eb9-a54a-2fd64da9df32</test></item></value></item></result>

2023-07-05 23:04:03 | [Mutex] notify: [retrieved:item:item-b8a37f49-fe16-4eb9-a54a-2fd64da9df32:payload-matches:true:localhost]

2023-07-05 23:04:03 | [Mutex] received everything.

2023-07-05 23:04:03 | [Mutex] isItemNotified: retrieved:item:item-b8a37f49-fe16-4eb9-a54a-2fd64da9df32:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-07-05 23:04:03 |

2023-07-05 23:04:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:03 | ------------------------------------

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

2023-07-05 23:04:03 | 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-91aa8e7b-fb5c-4cb8-af23-7306d7479c66</value><value>node-c2f1be25-d040-4502-9602-f34e51968e29</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-07-05 23:04:03 |

2023-07-05 23:04:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:03 | ------------------------------------

2023-07-05 23:04: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-c2f1be25-d040-4502-9602-f34e51968e29)</node-pattern></data>

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

subscribeNodes 1.175s
2023-07-05 23:04:01 |

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

2023-07-05 23:04:01 | ------------------------------------

2023-07-05 23:04:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c2f1be25-d040-4502-9602-f34e51968e29</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-05 23:04: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.158s
2023-07-05 23:04:03 |

2023-07-05 23:04:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-05 23:04:03 | ------------------------------------

2023-07-05 23:04:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c2f1be25-d040-4502-9602-f34e51968e29</node><jids><value>admin@test-domain.com</value></jids></data>

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