Generated by TestNG with ReportNG at 22:46 PDT on Tuesday 05 July 2022
root@ed1b7dd8a1b3 / 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.617s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-07-05 23:07:57 |

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

2022-07-05 23:07:57 | ------------------------------------

2022-07-05 23:07:57 | [Mutex] waiting for: [configured:node:node-59baac21-47de-4fe9-8597-2ff0cebade32:node-7424e4bc-e483-4cd0-b5e4-fcd9ec8f059f]

2022-07-05 23:07:57 | [Mutex] received everything.

2022-07-05 23:07:57 | [Mutex] isItemNotified: configured:node:node-59baac21-47de-4fe9-8597-2ff0cebade32:node-7424e4bc-e483-4cd0-b5e4-fcd9ec8f059f :: true

2022-07-05 23:07:58 | [Mutex] waiting for: [received:nodes:4f11e1ca-c62a-48bd-8b99-9a20726e272a:localhost]

2022-07-05 23:07:58 | [Mutex] received everything.

2022-07-05 23:07:58 | [Mutex] isItemNotified: received:node:4f11e1ca-c62a-48bd-8b99-9a20726e272a:localhost:node-59baac21-47de-4fe9-8597-2ff0cebade32:Node 59baac21-47de-4fe9-8597-2ff0cebade32 :: true

2022-07-05 23:07:58 | [Mutex] waiting for: [received:nodes:626eb65e-a093-4d50-bef0-bd41dd503276:localhost]

2022-07-05 23:07:58 | [Mutex] received everything.

2022-07-05 23:07:58 | [Mutex] isItemNotified: received:node:626eb65e-a093-4d50-bef0-bd41dd503276:localhost:node-59baac21-47de-4fe9-8597-2ff0cebade32:Node 59baac21-47de-4fe9-8597-2ff0cebade32 :: false

createNodes 1.504s
2022-07-05 23:07:55 |

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

2022-07-05 23:07:55 | ------------------------------------

2022-07-05 23:07:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-59baac21-47de-4fe9-8597-2ff0cebade32</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 59baac21-47de-4fe9-8597-2ff0cebade32</title></pubsub></data>

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

2022-07-05 23:07:56 | [Mutex] waiting for: [received:nodes:c2fee914-1056-42c9-8723-034d9287a66b:localhost]

2022-07-05 23:07:56 | [Mutex] waiting for: [received:nodes:c2fee914-1056-42c9-8723-034d9287a66b:localhost]

2022-07-05 23:07:56 | [Mutex] received everything.

2022-07-05 23:07:56 | [Mutex] isItemNotified: received:node:c2fee914-1056-42c9-8723-034d9287a66b:localhost:node-59baac21-47de-4fe9-8597-2ff0cebade32:Node 59baac21-47de-4fe9-8597-2ff0cebade32 :: true

createSubnodes 1.022s
2022-07-05 23:07:56 |

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

2022-07-05 23:07:56 | ------------------------------------

2022-07-05 23:07:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7424e4bc-e483-4cd0-b5e4-fcd9ec8f059f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7424e4bc-e483-4cd0-b5e4-fcd9ec8f059f</title></pubsub></data>

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

2022-07-05 23:07:57 | [Mutex] waiting for: [received:nodes:a4c81c3c-61af-4515-b2e3-d216ba25deed:localhost]

2022-07-05 23:07:57 | [Mutex] received everything.

2022-07-05 23:07:57 | [Mutex] isItemNotified: received:node:a4c81c3c-61af-4515-b2e3-d216ba25deed:localhost:node-7424e4bc-e483-4cd0-b5e4-fcd9ec8f059f:Node 7424e4bc-e483-4cd0-b5e4-fcd9ec8f059f :: true

deleteNodes 1.016s
2022-07-05 23:08:02 |

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

2022-07-05 23:08:02 | ------------------------------------

2022-07-05 23:08:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7424e4bc-e483-4cd0-b5e4-fcd9ec8f059f</node></data>

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

2022-07-05 23:08:03 | [Mutex] waiting for: [received:nodes:63684b75-48c4-4c26-ba45-958b3b059da9:localhost]

2022-07-05 23:08:03 | [Mutex] waiting for: [received:nodes:63684b75-48c4-4c26-ba45-958b3b059da9:localhost]

2022-07-05 23:08:03 | [Mutex] received everything.

2022-07-05 23:08:03 | [Mutex] isItemNotified: received:node:63684b75-48c4-4c26-ba45-958b3b059da9:localhost:node-7424e4bc-e483-4cd0-b5e4-fcd9ec8f059f:Node 7424e4bc-e483-4cd0-b5e4-fcd9ec8f059f :: false

deleteSubnodes 1.146s
2022-07-05 23:08:01 |

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

2022-07-05 23:08:01 | ------------------------------------

2022-07-05 23:08:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-59baac21-47de-4fe9-8597-2ff0cebade32</node></data>

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

2022-07-05 23:08:02 | [Mutex] waiting for: [received:nodes:1f3981f4-ef2c-42a6-b073-dbf8e9203e1d:localhost]

2022-07-05 23:08:02 | [Mutex] received everything.

2022-07-05 23:08:02 | [Mutex] isItemNotified: received:node:1f3981f4-ef2c-42a6-b073-dbf8e9203e1d:localhost:node-59baac21-47de-4fe9-8597-2ff0cebade32:Node 59baac21-47de-4fe9-8597-2ff0cebade32 :: false

2022-07-05 23:08:02 | [Mutex] waiting for: [received:nodes:ecf0ac49-576e-49e3-8b46-f4c24becacc9:localhost]

2022-07-05 23:08:02 | [Mutex] received everything.

2022-07-05 23:08:02 | [Mutex] isItemNotified: received:node:ecf0ac49-576e-49e3-8b46-f4c24becacc9:localhost:node-59baac21-47de-4fe9-8597-2ff0cebade32:Node 59baac21-47de-4fe9-8597-2ff0cebade32 :: false

publishItemsToNodes 0.203s
2022-07-05 23:07:59 |

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

2022-07-05 23:07:59 | ------------------------------------

2022-07-05 23:07:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-59baac21-47de-4fe9-8597-2ff0cebade32</node><item-id>item-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7</item-id><entry><test>item-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7</test></entry></data>

2022-07-05 23:07: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-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7</value></item-id></result>

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

2022-07-05 23:07:59 | [Mutex] isItemNotified: published:item:notifieditem-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7:admin@test-domain.com :: true

retractItemsFromNodes 0.262s
2022-07-05 23:08:00 |

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

2022-07-05 23:08:00 | ------------------------------------

2022-07-05 23:08:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-59baac21-47de-4fe9-8597-2ff0cebade32</node><item-id>item-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7</item-id></data>

2022-07-05 23:08: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-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7</value></item-id></result>

2022-07-05 23:08:00 | [Mutex] waiting for: [retracted:item:notifieditem-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7:admin@test-domain.com]

2022-07-05 23:08:00 | [Mutex] received everything.

2022-07-05 23:08:00 | [Mutex] isItemNotified: retracted:item:notifieditem-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.198s
2022-07-05 23:07:59 |

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

2022-07-05 23:07:59 | ------------------------------------

2022-07-05 23:07:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-59baac21-47de-4fe9-8597-2ff0cebade32</node><item-id>item-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7</item-id></data>

2022-07-05 23:08:00 | 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-59baac21-47de-4fe9-8597-2ff0cebade32</value></node><item-id label="Item ID" type="text-single"><value>item-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7</value></item-id><item label="Item" type="text-multi"><value><item id="item-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7"><test>item-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7</test></item></value></item></result>

2022-07-05 23:08:00 | [Mutex] notify: [retrieved:item:item-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7:payload-matches:true:localhost]

2022-07-05 23:08:00 | [Mutex] received everything.

2022-07-05 23:08:00 | [Mutex] isItemNotified: retrieved:item:item-4a8f851e-14f3-4fb8-a7cb-6e4a5d7553d7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-07-05 23:08:00 |

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

2022-07-05 23:08:00 | ------------------------------------

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

2022-07-05 23:08:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-59baac21-47de-4fe9-8597-2ff0cebade32</value><value>node-7424e4bc-e483-4cd0-b5e4-fcd9ec8f059f</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-05 23:08:00 |

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

2022-07-05 23:08:00 | ------------------------------------

2022-07-05 23:08:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-59baac21-47de-4fe9-8597-2ff0cebade32)</node-pattern></data>

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

subscribeNodes 1.134s
2022-07-05 23:07:58 |

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

2022-07-05 23:07:58 | ------------------------------------

2022-07-05 23:07:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-59baac21-47de-4fe9-8597-2ff0cebade32</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-05 23:07: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.248s
2022-07-05 23:08:00 |

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

2022-07-05 23:08:00 | ------------------------------------

2022-07-05 23:08:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-59baac21-47de-4fe9-8597-2ff0cebade32</node><jids><value>admin@test-domain.com</value></jids></data>

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