Generated by TestNG with ReportNG at 22:17 PDT on Monday 20 June 2022
root@61c39d2ed70d / 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.653s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
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 | [Mutex] waiting for: [configured:node:node-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d:node-48077fb8-ea55-4604-936a-36a5bfa2e959]

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

2022-06-20 22:32:01 | [Mutex] isItemNotified: configured:node:node-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d:node-48077fb8-ea55-4604-936a-36a5bfa2e959 :: true

2022-06-20 22:32:02 | [Mutex] waiting for: [received:nodes:f4621e8b-bc1a-48aa-96db-1c601585c346:localhost]

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

2022-06-20 22:32:02 | [Mutex] isItemNotified: received:node:f4621e8b-bc1a-48aa-96db-1c601585c346:localhost:node-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d:Node cd241b91-3ba0-4e60-ae11-d8ce8ae7702d :: true

2022-06-20 22:32:02 | [Mutex] waiting for: [received:nodes:c049f562-a7de-4e4c-a3d7-eba4e392bd5c:localhost]

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

2022-06-20 22:32:02 | [Mutex] isItemNotified: received:node:c049f562-a7de-4e4c-a3d7-eba4e392bd5c:localhost:node-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d:Node cd241b91-3ba0-4e60-ae11-d8ce8ae7702d :: false

createNodes 1.487s
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-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cd241b91-3ba0-4e60-ae11-d8ce8ae7702d</title></pubsub></data>

2022-06-20 22:31:58 | 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:31:59 | [Mutex] waiting for: [received:nodes:58f0d6dc-05fb-4a51-985e-c29aa89f3b20:localhost]

2022-06-20 22:31:59 | [Mutex] waiting for: [received:nodes:58f0d6dc-05fb-4a51-985e-c29aa89f3b20:localhost]

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

2022-06-20 22:31:59 | [Mutex] isItemNotified: received:node:58f0d6dc-05fb-4a51-985e-c29aa89f3b20:localhost:node-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d:Node cd241b91-3ba0-4e60-ae11-d8ce8ae7702d :: true

createSubnodes 1.032s
2022-06-20 22:31:59 |

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

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

2022-06-20 22:31:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-48077fb8-ea55-4604-936a-36a5bfa2e959</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 48077fb8-ea55-4604-936a-36a5bfa2e959</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:d2a32f0b-a4dc-4d5e-825c-bd8d0d1c9a08:localhost]

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

2022-06-20 22:32:00 | [Mutex] isItemNotified: received:node:d2a32f0b-a4dc-4d5e-825c-bd8d0d1c9a08:localhost:node-48077fb8-ea55-4604-936a-36a5bfa2e959:Node 48077fb8-ea55-4604-936a-36a5bfa2e959 :: true

deleteNodes 1.023s
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-48077fb8-ea55-4604-936a-36a5bfa2e959</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:18cc7495-1bec-4a3e-8339-7eca86da01db:localhost]

2022-06-20 22:32:07 | [Mutex] waiting for: [received:nodes:18cc7495-1bec-4a3e-8339-7eca86da01db:localhost]

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

2022-06-20 22:32:07 | [Mutex] isItemNotified: received:node:18cc7495-1bec-4a3e-8339-7eca86da01db:localhost:node-48077fb8-ea55-4604-936a-36a5bfa2e959:Node 48077fb8-ea55-4604-936a-36a5bfa2e959 :: false

deleteSubnodes 1.147s
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-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d</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:f9ac5548-0091-4739-ada5-b0b77a807934:localhost]

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

2022-06-20 22:32:06 | [Mutex] isItemNotified: received:node:f9ac5548-0091-4739-ada5-b0b77a807934:localhost:node-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d:Node cd241b91-3ba0-4e60-ae11-d8ce8ae7702d :: false

2022-06-20 22:32:06 | [Mutex] waiting for: [received:nodes:67fd8c33-55f0-41e8-8883-0452324db009:localhost]

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

2022-06-20 22:32:06 | [Mutex] isItemNotified: received:node:67fd8c33-55f0-41e8-8883-0452324db009:localhost:node-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d:Node cd241b91-3ba0-4e60-ae11-d8ce8ae7702d :: false

publishItemsToNodes 0.230s
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-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d</node><item-id>item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18</item-id><entry><test>item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18</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 type="fixed" label="Item ID"><value>item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18</value></item-id></result>

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

2022-06-20 22:32:03 | [Mutex] isItemNotified: published:item:notifieditem-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18:admin@test-domain.com :: true

retractItemsFromNodes 0.336s
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-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d</node><item-id>item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18</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 type="fixed" label="Item ID"><value>item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18</value></item-id></result>

2022-06-20 22:32:04 | [Mutex] waiting for: [retracted:item:notifieditem-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18:admin@test-domain.com]

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

2022-06-20 22:32:04 | [Mutex] isItemNotified: retracted:item:notifieditem-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18:admin@test-domain.com :: true

retrieveItemsFromNodes 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 retrieve-item with content type application/xml and payload:
<data><node>node-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d</node><item-id>item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18</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 type="text-single" label="Node"><value>node-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d</value></node><item-id type="text-single" label="Item ID"><value>item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18</value></item-id><item type="text-multi" label="Item"><value><item id="item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18"><test>item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18</test></item></value></item></result>

2022-06-20 22:32:03 | [Mutex] notify: [retrieved:item:item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18:payload-matches:true:localhost]

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

2022-06-20 22:32:03 | [Mutex] isItemNotified: retrieved:item:item-64f7dffd-26eb-473d-b1c4-2b4b86b7dc18: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 type="text-multi" label="Nodes"><value>test</value><value>node-48077fb8-ea55-4604-936a-36a5bfa2e959</value><value>node-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
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-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d)</node-pattern></data>

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

subscribeNodes 1.110s
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-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d</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.185s
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-cd241b91-3ba0-4e60-ae11-d8ce8ae7702d</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>