Generated by TestNG with ReportNG at 22:48 PDT on Friday 17 June 2022
root@21fb2cc9076b / 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.554s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2022-06-17 23:09:57 |

2022-06-17 23:09:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 23:09:57 | ------------------------------------

2022-06-17 23:09:57 | [Mutex] waiting for: [configured:node:node-bb0b62a1-12f9-4ae3-a035-af6d81431a52:node-a6b1edf3-6287-481d-93f1-faa45a85a697]

2022-06-17 23:09:57 | [Mutex] received everything.

2022-06-17 23:09:57 | [Mutex] isItemNotified: configured:node:node-bb0b62a1-12f9-4ae3-a035-af6d81431a52:node-a6b1edf3-6287-481d-93f1-faa45a85a697 :: true

2022-06-17 23:09:58 | [Mutex] waiting for: [received:nodes:984e2d40-1367-46fb-82a5-83b2518ea6c5:localhost]

2022-06-17 23:09:58 | [Mutex] received everything.

2022-06-17 23:09:58 | [Mutex] isItemNotified: received:node:984e2d40-1367-46fb-82a5-83b2518ea6c5:localhost:node-bb0b62a1-12f9-4ae3-a035-af6d81431a52:Node bb0b62a1-12f9-4ae3-a035-af6d81431a52 :: true

2022-06-17 23:09:58 | [Mutex] waiting for: [received:nodes:751e1e44-4dd9-4ce1-84ff-40835267b035:localhost]

2022-06-17 23:09:58 | [Mutex] waiting for: [received:nodes:751e1e44-4dd9-4ce1-84ff-40835267b035:localhost]

2022-06-17 23:09:58 | [Mutex] received everything.

2022-06-17 23:09:58 | [Mutex] isItemNotified: received:node:751e1e44-4dd9-4ce1-84ff-40835267b035:localhost:node-bb0b62a1-12f9-4ae3-a035-af6d81431a52:Node bb0b62a1-12f9-4ae3-a035-af6d81431a52 :: false

createNodes 1.335s
2022-06-17 23:09:55 |

2022-06-17 23:09:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 23:09:55 | ------------------------------------

2022-06-17 23:09:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bb0b62a1-12f9-4ae3-a035-af6d81431a52</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bb0b62a1-12f9-4ae3-a035-af6d81431a52</title></pubsub></data>

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

2022-06-17 23:09:56 | [Mutex] waiting for: [received:nodes:9d1a7ade-26a9-4d24-92a3-e5fa463bdbc6:localhost]

2022-06-17 23:09:56 | [Mutex] received everything.

2022-06-17 23:09:56 | [Mutex] isItemNotified: received:node:9d1a7ade-26a9-4d24-92a3-e5fa463bdbc6:localhost:node-bb0b62a1-12f9-4ae3-a035-af6d81431a52:Node bb0b62a1-12f9-4ae3-a035-af6d81431a52 :: true

createSubnodes 1.021s
2022-06-17 23:09:56 |

2022-06-17 23:09:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 23:09:56 | ------------------------------------

2022-06-17 23:09:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a6b1edf3-6287-481d-93f1-faa45a85a697</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a6b1edf3-6287-481d-93f1-faa45a85a697</title></pubsub></data>

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

2022-06-17 23:09:57 | [Mutex] waiting for: [received:nodes:88067415-4039-472c-ba6c-a5bf5f96f899:localhost]

2022-06-17 23:09:57 | [Mutex] received everything.

2022-06-17 23:09:57 | [Mutex] isItemNotified: received:node:88067415-4039-472c-ba6c-a5bf5f96f899:localhost:node-a6b1edf3-6287-481d-93f1-faa45a85a697:Node a6b1edf3-6287-481d-93f1-faa45a85a697 :: true

deleteNodes 1.018s
2022-06-17 23:10:03 |

2022-06-17 23:10:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 23:10:03 | ------------------------------------

2022-06-17 23:10:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a6b1edf3-6287-481d-93f1-faa45a85a697</node></data>

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

2022-06-17 23:10:04 | [Mutex] waiting for: [received:nodes:3cd424bd-06ef-4add-a5bd-277a109f357d:localhost]

2022-06-17 23:10:04 | [Mutex] received everything.

2022-06-17 23:10:04 | [Mutex] isItemNotified: received:node:3cd424bd-06ef-4add-a5bd-277a109f357d:localhost:node-a6b1edf3-6287-481d-93f1-faa45a85a697:Node a6b1edf3-6287-481d-93f1-faa45a85a697 :: false

deleteSubnodes 1.276s
2022-06-17 23:10:01 |

2022-06-17 23:10:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 23:10:01 | ------------------------------------

2022-06-17 23:10:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bb0b62a1-12f9-4ae3-a035-af6d81431a52</node></data>

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

2022-06-17 23:10:03 | [Mutex] waiting for: [received:nodes:743eaad5-0f42-4910-870a-b4f0ac7d2a1a:localhost]

2022-06-17 23:10:03 | [Mutex] waiting for: [received:nodes:743eaad5-0f42-4910-870a-b4f0ac7d2a1a:localhost]

2022-06-17 23:10:03 | [Mutex] received everything.

2022-06-17 23:10:03 | [Mutex] isItemNotified: received:node:743eaad5-0f42-4910-870a-b4f0ac7d2a1a:localhost:node-bb0b62a1-12f9-4ae3-a035-af6d81431a52:Node bb0b62a1-12f9-4ae3-a035-af6d81431a52 :: false

2022-06-17 23:10:03 | [Mutex] waiting for: [received:nodes:0ee89e40-cdc0-4841-af1b-08ac90b2344d:localhost]

2022-06-17 23:10:03 | [Mutex] received everything.

2022-06-17 23:10:03 | [Mutex] isItemNotified: received:node:0ee89e40-cdc0-4841-af1b-08ac90b2344d:localhost:node-bb0b62a1-12f9-4ae3-a035-af6d81431a52:Node bb0b62a1-12f9-4ae3-a035-af6d81431a52 :: false

publishItemsToNodes 0.222s
2022-06-17 23:09:59 |

2022-06-17 23:09:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 23:09:59 | ------------------------------------

2022-06-17 23:09:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bb0b62a1-12f9-4ae3-a035-af6d81431a52</node><item-id>item-28d11f23-be63-4b5c-bad1-4e30e99ef1f2</item-id><entry><test>item-28d11f23-be63-4b5c-bad1-4e30e99ef1f2</test></entry></data>

2022-06-17 23:10:00 | 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-28d11f23-be63-4b5c-bad1-4e30e99ef1f2</value></item-id></result>

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

2022-06-17 23:10:00 | [Mutex] isItemNotified: published:item:notifieditem-28d11f23-be63-4b5c-bad1-4e30e99ef1f2:admin@test-domain.com :: true

retractItemsFromNodes 0.258s
2022-06-17 23:10:00 |

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

2022-06-17 23:10:00 | ------------------------------------

2022-06-17 23:10:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bb0b62a1-12f9-4ae3-a035-af6d81431a52</node><item-id>item-28d11f23-be63-4b5c-bad1-4e30e99ef1f2</item-id></data>

2022-06-17 23:10: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-28d11f23-be63-4b5c-bad1-4e30e99ef1f2</value></item-id></result>

2022-06-17 23:10:00 | [Mutex] waiting for: [retracted:item:notifieditem-28d11f23-be63-4b5c-bad1-4e30e99ef1f2:admin@test-domain.com]

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

2022-06-17 23:10:00 | [Mutex] isItemNotified: retracted:item:notifieditem-28d11f23-be63-4b5c-bad1-4e30e99ef1f2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.212s
2022-06-17 23:10:00 |

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

2022-06-17 23:10:00 | ------------------------------------

2022-06-17 23:10:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bb0b62a1-12f9-4ae3-a035-af6d81431a52</node><item-id>item-28d11f23-be63-4b5c-bad1-4e30e99ef1f2</item-id></data>

2022-06-17 23:10: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-bb0b62a1-12f9-4ae3-a035-af6d81431a52</value></node><item-id label="Item ID" type="text-single"><value>item-28d11f23-be63-4b5c-bad1-4e30e99ef1f2</value></item-id><item label="Item" type="text-multi"><value><item id="item-28d11f23-be63-4b5c-bad1-4e30e99ef1f2"><test>item-28d11f23-be63-4b5c-bad1-4e30e99ef1f2</test></item></value></item></result>

2022-06-17 23:10:00 | [Mutex] notify: [retrieved:item:item-28d11f23-be63-4b5c-bad1-4e30e99ef1f2:payload-matches:true:localhost]

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

2022-06-17 23:10:00 | [Mutex] isItemNotified: retrieved:item:item-28d11f23-be63-4b5c-bad1-4e30e99ef1f2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-17 23:10:00 |

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

2022-06-17 23:10:00 | ------------------------------------

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

2022-06-17 23:10:00 | 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-a6b1edf3-6287-481d-93f1-faa45a85a697</value><value>node-bb0b62a1-12f9-4ae3-a035-af6d81431a52</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-17 23:10:00 |

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

2022-06-17 23:10:00 | ------------------------------------

2022-06-17 23:10: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-bb0b62a1-12f9-4ae3-a035-af6d81431a52)</node-pattern></data>

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

subscribeNodes 1.149s
2022-06-17 23:09:58 |

2022-06-17 23:09:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 23:09:58 | ------------------------------------

2022-06-17 23:09:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bb0b62a1-12f9-4ae3-a035-af6d81431a52</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-17 23:09: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.152s
2022-06-17 23:10:00 |

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

2022-06-17 23:10:00 | ------------------------------------

2022-06-17 23:10:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bb0b62a1-12f9-4ae3-a035-af6d81431a52</node><jids><value>admin@test-domain.com</value></jids></data>

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