Generated by TestNG with ReportNG at 22:19 PDT on Wednesday 22 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.492s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2022-06-22 22:33:58 |

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

2022-06-22 22:33:58 | ------------------------------------

2022-06-22 22:33:58 | [Mutex] waiting for: [configured:node:node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6:node-2e1e0220-8dda-4dea-a857-c516f8b958da]

2022-06-22 22:33:58 | [Mutex] received everything.

2022-06-22 22:33:58 | [Mutex] isItemNotified: configured:node:node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6:node-2e1e0220-8dda-4dea-a857-c516f8b958da :: true

2022-06-22 22:33:59 | [Mutex] waiting for: [received:nodes:78a4d128-e4ed-4b8a-b7e8-07ba7492117c:localhost]

2022-06-22 22:33:59 | [Mutex] received everything.

2022-06-22 22:33:59 | [Mutex] isItemNotified: received:node:78a4d128-e4ed-4b8a-b7e8-07ba7492117c:localhost:node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6:Node 7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6 :: true

2022-06-22 22:33:59 | [Mutex] waiting for: [received:nodes:30b25f6e-b1d5-447e-bd10-0e2d27dbeee0:localhost]

2022-06-22 22:33:59 | [Mutex] received everything.

2022-06-22 22:33:59 | [Mutex] isItemNotified: received:node:30b25f6e-b1d5-447e-bd10-0e2d27dbeee0:localhost:node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6:Node 7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6 :: false

createNodes 1.460s
2022-06-22 22:33:55 |

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

2022-06-22 22:33:55 | ------------------------------------

2022-06-22 22:33:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6</title></pubsub></data>

2022-06-22 22:33: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-22 22:33:57 | [Mutex] waiting for: [received:nodes:11519744-4a20-4110-ae1b-7cb72cb34725:localhost]

2022-06-22 22:33:57 | [Mutex] received everything.

2022-06-22 22:33:57 | [Mutex] isItemNotified: received:node:11519744-4a20-4110-ae1b-7cb72cb34725:localhost:node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6:Node 7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6 :: true

createSubnodes 1.030s
2022-06-22 22:33:57 |

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

2022-06-22 22:33:57 | ------------------------------------

2022-06-22 22:33:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2e1e0220-8dda-4dea-a857-c516f8b958da</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2e1e0220-8dda-4dea-a857-c516f8b958da</title></pubsub></data>

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

2022-06-22 22:33:58 | [Mutex] waiting for: [received:nodes:08085d1e-e100-46dc-9314-f6f9685ca609:localhost]

2022-06-22 22:33:58 | [Mutex] waiting for: [received:nodes:08085d1e-e100-46dc-9314-f6f9685ca609:localhost]

2022-06-22 22:33:58 | [Mutex] received everything.

2022-06-22 22:33:58 | [Mutex] isItemNotified: received:node:08085d1e-e100-46dc-9314-f6f9685ca609:localhost:node-2e1e0220-8dda-4dea-a857-c516f8b958da:Node 2e1e0220-8dda-4dea-a857-c516f8b958da :: true

deleteNodes 1.025s
2022-06-22 22:34:03 |

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

2022-06-22 22:34:03 | ------------------------------------

2022-06-22 22:34:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2e1e0220-8dda-4dea-a857-c516f8b958da</node></data>

2022-06-22 22:34: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-22 22:34:04 | [Mutex] waiting for: [received:nodes:d9e28d62-bd1e-4500-aaa1-b05741bd90c5:localhost]

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

2022-06-22 22:34:04 | [Mutex] isItemNotified: received:node:d9e28d62-bd1e-4500-aaa1-b05741bd90c5:localhost:node-2e1e0220-8dda-4dea-a857-c516f8b958da:Node 2e1e0220-8dda-4dea-a857-c516f8b958da :: false

deleteSubnodes 1.122s
2022-06-22 22:34:02 |

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

2022-06-22 22:34:02 | ------------------------------------

2022-06-22 22:34:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6</node></data>

2022-06-22 22:34: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-22 22:34:03 | [Mutex] waiting for: [received:nodes:1863fae8-9c98-4237-8c20-8bc60c3efb52:localhost]

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

2022-06-22 22:34:03 | [Mutex] isItemNotified: received:node:1863fae8-9c98-4237-8c20-8bc60c3efb52:localhost:node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6:Node 7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6 :: false

2022-06-22 22:34:03 | [Mutex] waiting for: [received:nodes:0c74d0a2-44b6-4176-8896-932c345b48a3:localhost]

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

2022-06-22 22:34:03 | [Mutex] isItemNotified: received:node:0c74d0a2-44b6-4176-8896-932c345b48a3:localhost:node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6:Node 7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6 :: false

publishItemsToNodes 0.207s
2022-06-22 22:34:00 |

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

2022-06-22 22:34:00 | ------------------------------------

2022-06-22 22:34:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6</node><item-id>item-a17257e6-c9af-42fd-8f40-a24b0103a941</item-id><entry><test>item-a17257e6-c9af-42fd-8f40-a24b0103a941</test></entry></data>

2022-06-22 22:34: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-a17257e6-c9af-42fd-8f40-a24b0103a941</value></item-id></result>

2022-06-22 22:34:00 | [Mutex] waiting for: [published:item:notifieditem-a17257e6-c9af-42fd-8f40-a24b0103a941:admin@test-domain.com]

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

2022-06-22 22:34:00 | [Mutex] isItemNotified: published:item:notifieditem-a17257e6-c9af-42fd-8f40-a24b0103a941:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-06-22 22:34:01 |

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

2022-06-22 22:34:01 | ------------------------------------

2022-06-22 22:34:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6</node><item-id>item-a17257e6-c9af-42fd-8f40-a24b0103a941</item-id></data>

2022-06-22 22:34:01 | 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-a17257e6-c9af-42fd-8f40-a24b0103a941</value></item-id></result>

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

2022-06-22 22:34:01 | [Mutex] isItemNotified: retracted:item:notifieditem-a17257e6-c9af-42fd-8f40-a24b0103a941:admin@test-domain.com :: true

retrieveItemsFromNodes 0.250s
2022-06-22 22:34:00 |

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

2022-06-22 22:34:00 | ------------------------------------

2022-06-22 22:34:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6</node><item-id>item-a17257e6-c9af-42fd-8f40-a24b0103a941</item-id></data>

2022-06-22 22:34:01 | 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-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6</value></node><item-id label="Item ID" type="text-single"><value>item-a17257e6-c9af-42fd-8f40-a24b0103a941</value></item-id><item label="Item" type="text-multi"><value><item id="item-a17257e6-c9af-42fd-8f40-a24b0103a941"><test>item-a17257e6-c9af-42fd-8f40-a24b0103a941</test></item></value></item></result>

2022-06-22 22:34:01 | [Mutex] notify: [retrieved:item:item-a17257e6-c9af-42fd-8f40-a24b0103a941:payload-matches:true:localhost]

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

2022-06-22 22:34:01 | [Mutex] isItemNotified: retrieved:item:item-a17257e6-c9af-42fd-8f40-a24b0103a941:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2022-06-22 22:34:01 |

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

2022-06-22 22:34:01 | ------------------------------------

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

2022-06-22 22:34:01 | 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-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6</value><value>node-2e1e0220-8dda-4dea-a857-c516f8b958da</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-06-22 22:34:01 |

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

2022-06-22 22:34:01 | ------------------------------------

2022-06-22 22:34:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6)</node-pattern></data>

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

subscribeNodes 1.152s
2022-06-22 22:33:59 |

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

2022-06-22 22:33:59 | ------------------------------------

2022-06-22 22:33:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.166s
2022-06-22 22:34:01 |

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

2022-06-22 22:34:01 | ------------------------------------

2022-06-22 22:34:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7512d1bf-44a0-4ccd-9e2d-b7f012fd77b6</node><jids><value>admin@test-domain.com</value></jids></data>

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