Generated by TestNG with ReportNG at 22:17 PDT on Monday 20 June 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.655s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-06-20 22:32:01 |

2022-06-20 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:01 | ------------------------------------

2022-06-20 22:32:01 | [Mutex] waiting for: [configured:node:node-ac1baccc-c614-40ef-a182-3e9678ef1d20:node-af4a732e-390f-46ee-9770-8c42ba825f80]

2022-06-20 22:32:01 | [Mutex] received everything.

2022-06-20 22:32:01 | [Mutex] isItemNotified: configured:node:node-ac1baccc-c614-40ef-a182-3e9678ef1d20:node-af4a732e-390f-46ee-9770-8c42ba825f80 :: true

2022-06-20 22:32:02 | [Mutex] waiting for: [received:nodes:8e232689-edaa-414b-a355-ddb59573912b:localhost]

2022-06-20 22:32:02 | [Mutex] received everything.

2022-06-20 22:32:02 | [Mutex] isItemNotified: received:node:8e232689-edaa-414b-a355-ddb59573912b:localhost:node-ac1baccc-c614-40ef-a182-3e9678ef1d20:Node ac1baccc-c614-40ef-a182-3e9678ef1d20 :: true

2022-06-20 22:32:02 | [Mutex] waiting for: [received:nodes:15a36886-32dd-469f-abb1-b6cfdd6fdaa5:localhost]

2022-06-20 22:32:02 | [Mutex] received everything.

2022-06-20 22:32:02 | [Mutex] isItemNotified: received:node:15a36886-32dd-469f-abb1-b6cfdd6fdaa5:localhost:node-ac1baccc-c614-40ef-a182-3e9678ef1d20:Node ac1baccc-c614-40ef-a182-3e9678ef1d20 :: false

createNodes 1.540s
2022-06-20 22:31:58 |

2022-06-20 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:31:58 | ------------------------------------

2022-06-20 22:31:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ac1baccc-c614-40ef-a182-3e9678ef1d20</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ac1baccc-c614-40ef-a182-3e9678ef1d20</title></pubsub></data>

2022-06-20 22:31:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-20 22:32:00 | [Mutex] waiting for: [received:nodes:8254c205-9b2e-43e7-bc18-683606162acc:localhost]

2022-06-20 22:32:00 | [Mutex] waiting for: [received:nodes:8254c205-9b2e-43e7-bc18-683606162acc:localhost]

2022-06-20 22:32:00 | [Mutex] received everything.

2022-06-20 22:32:00 | [Mutex] isItemNotified: received:node:8254c205-9b2e-43e7-bc18-683606162acc:localhost:node-ac1baccc-c614-40ef-a182-3e9678ef1d20:Node ac1baccc-c614-40ef-a182-3e9678ef1d20 :: true

createSubnodes 1.024s
2022-06-20 22:32:00 |

2022-06-20 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:00 | ------------------------------------

2022-06-20 22:32:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-af4a732e-390f-46ee-9770-8c42ba825f80</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node af4a732e-390f-46ee-9770-8c42ba825f80</title></pubsub></data>

2022-06-20 22:32:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-20 22:32:01 | [Mutex] waiting for: [received:nodes:7def573c-d1be-44d8-a3d9-ad31696921e6:localhost]

2022-06-20 22:32:01 | [Mutex] waiting for: [received:nodes:7def573c-d1be-44d8-a3d9-ad31696921e6:localhost]

2022-06-20 22:32:01 | [Mutex] received everything.

2022-06-20 22:32:01 | [Mutex] isItemNotified: received:node:7def573c-d1be-44d8-a3d9-ad31696921e6:localhost:node-af4a732e-390f-46ee-9770-8c42ba825f80:Node af4a732e-390f-46ee-9770-8c42ba825f80 :: true

deleteNodes 1.017s
2022-06-20 22:32:06 |

2022-06-20 22:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:06 | ------------------------------------

2022-06-20 22:32:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-af4a732e-390f-46ee-9770-8c42ba825f80</node></data>

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

2022-06-20 22:32:07 | [Mutex] waiting for: [received:nodes:fabda739-055f-416f-9cc7-b56909de8136:localhost]

2022-06-20 22:32:07 | [Mutex] waiting for: [received:nodes:fabda739-055f-416f-9cc7-b56909de8136:localhost]

2022-06-20 22:32:07 | [Mutex] waiting for: [received:nodes:fabda739-055f-416f-9cc7-b56909de8136:localhost]

2022-06-20 22:32:07 | [Mutex] received everything.

2022-06-20 22:32:07 | [Mutex] isItemNotified: received:node:fabda739-055f-416f-9cc7-b56909de8136:localhost:node-af4a732e-390f-46ee-9770-8c42ba825f80:Node af4a732e-390f-46ee-9770-8c42ba825f80 :: false

deleteSubnodes 1.127s
2022-06-20 22:32:05 |

2022-06-20 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:05 | ------------------------------------

2022-06-20 22:32:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ac1baccc-c614-40ef-a182-3e9678ef1d20</node></data>

2022-06-20 22:32:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-20 22:32:06 | [Mutex] waiting for: [received:nodes:1e967cb6-c450-456b-883c-aa6b71fe990b:localhost]

2022-06-20 22:32:06 | [Mutex] waiting for: [received:nodes:1e967cb6-c450-456b-883c-aa6b71fe990b:localhost]

2022-06-20 22:32:06 | [Mutex] received everything.

2022-06-20 22:32:06 | [Mutex] isItemNotified: received:node:1e967cb6-c450-456b-883c-aa6b71fe990b:localhost:node-ac1baccc-c614-40ef-a182-3e9678ef1d20:Node ac1baccc-c614-40ef-a182-3e9678ef1d20 :: false

2022-06-20 22:32:06 | [Mutex] waiting for: [received:nodes:e8c900a9-89a0-4c93-9e90-4407f6c58ede:localhost]

2022-06-20 22:32:06 | [Mutex] received everything.

2022-06-20 22:32:06 | [Mutex] isItemNotified: received:node:e8c900a9-89a0-4c93-9e90-4407f6c58ede:localhost:node-ac1baccc-c614-40ef-a182-3e9678ef1d20:Node ac1baccc-c614-40ef-a182-3e9678ef1d20 :: false

publishItemsToNodes 0.232s
2022-06-20 22:32:03 |

2022-06-20 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:03 | ------------------------------------

2022-06-20 22:32:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ac1baccc-c614-40ef-a182-3e9678ef1d20</node><item-id>item-a1fb4e4c-e688-4cae-9b56-35860565bb42</item-id><entry><test>item-a1fb4e4c-e688-4cae-9b56-35860565bb42</test></entry></data>

2022-06-20 22:32:03 | 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-a1fb4e4c-e688-4cae-9b56-35860565bb42</value></item-id></result>

2022-06-20 22:32:03 | [Mutex] received everything.

2022-06-20 22:32:03 | [Mutex] isItemNotified: published:item:notifieditem-a1fb4e4c-e688-4cae-9b56-35860565bb42:admin@test-domain.com :: true

retractItemsFromNodes 0.323s
2022-06-20 22:32:03 |

2022-06-20 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:03 | ------------------------------------

2022-06-20 22:32:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ac1baccc-c614-40ef-a182-3e9678ef1d20</node><item-id>item-a1fb4e4c-e688-4cae-9b56-35860565bb42</item-id></data>

2022-06-20 22:32:04 | 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-a1fb4e4c-e688-4cae-9b56-35860565bb42</value></item-id></result>

2022-06-20 22:32:04 | [Mutex] received everything.

2022-06-20 22:32:04 | [Mutex] isItemNotified: retracted:item:notifieditem-a1fb4e4c-e688-4cae-9b56-35860565bb42:admin@test-domain.com :: true

retrieveItemsFromNodes 0.187s
2022-06-20 22:32:03 |

2022-06-20 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:03 | ------------------------------------

2022-06-20 22:32:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ac1baccc-c614-40ef-a182-3e9678ef1d20</node><item-id>item-a1fb4e4c-e688-4cae-9b56-35860565bb42</item-id></data>

2022-06-20 22:32: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-ac1baccc-c614-40ef-a182-3e9678ef1d20</value></node><item-id label="Item ID" type="text-single"><value>item-a1fb4e4c-e688-4cae-9b56-35860565bb42</value></item-id><item label="Item" type="text-multi"><value><item id="item-a1fb4e4c-e688-4cae-9b56-35860565bb42"><test>item-a1fb4e4c-e688-4cae-9b56-35860565bb42</test></item></value></item></result>

2022-06-20 22:32:03 | [Mutex] notify: [retrieved:item:item-a1fb4e4c-e688-4cae-9b56-35860565bb42:payload-matches:true:localhost]

2022-06-20 22:32:03 | [Mutex] received everything.

2022-06-20 22:32:03 | [Mutex] isItemNotified: retrieved:item:item-a1fb4e4c-e688-4cae-9b56-35860565bb42:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-20 22:32:03 |

2022-06-20 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:03 | ------------------------------------

2022-06-20 22:32:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-20 22:32: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-af4a732e-390f-46ee-9770-8c42ba825f80</value><value>node-ac1baccc-c614-40ef-a182-3e9678ef1d20</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-06-20 22:32:03 |

2022-06-20 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:03 | ------------------------------------

2022-06-20 22:32: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-ac1baccc-c614-40ef-a182-3e9678ef1d20)</node-pattern></data>

2022-06-20 22:32:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.164s
2022-06-20 22:32:02 |

2022-06-20 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:02 | ------------------------------------

2022-06-20 22:32:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ac1baccc-c614-40ef-a182-3e9678ef1d20</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-20 22:32:02 | 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
2022-06-20 22:32:04 |

2022-06-20 22:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 22:32:04 | ------------------------------------

2022-06-20 22:32:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ac1baccc-c614-40ef-a182-3e9678ef1d20</node><jids><value>admin@test-domain.com</value></jids></data>

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