Generated by TestNG with ReportNG at 22:51 PDT on Wednesday 17 August 2022
root@7c41cec37518 / 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.535s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2022-08-17 23:05:47 |

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

2022-08-17 23:05:47 | ------------------------------------

2022-08-17 23:05:47 | [Mutex] waiting for: [configured:node:node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca:node-f9427b41-54ae-406f-af01-0e403d2bce0d]

2022-08-17 23:05:47 | [Mutex] received everything.

2022-08-17 23:05:47 | [Mutex] isItemNotified: configured:node:node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca:node-f9427b41-54ae-406f-af01-0e403d2bce0d :: true

2022-08-17 23:05:48 | [Mutex] waiting for: [received:nodes:199c80de-7e11-4e47-a044-fe2b481d5098:localhost]

2022-08-17 23:05:48 | [Mutex] waiting for: [received:nodes:199c80de-7e11-4e47-a044-fe2b481d5098:localhost]

2022-08-17 23:05:48 | [Mutex] received everything.

2022-08-17 23:05:48 | [Mutex] isItemNotified: received:node:199c80de-7e11-4e47-a044-fe2b481d5098:localhost:node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca:Node 8b7f0da0-fa45-46a4-ad0a-93278ed18eca :: true

2022-08-17 23:05:48 | [Mutex] waiting for: [received:nodes:0c2a71a7-7ef6-46ed-aa3c-aaadbce75f35:localhost]

2022-08-17 23:05:48 | [Mutex] waiting for: [received:nodes:0c2a71a7-7ef6-46ed-aa3c-aaadbce75f35:localhost]

2022-08-17 23:05:48 | [Mutex] waiting for: [received:nodes:0c2a71a7-7ef6-46ed-aa3c-aaadbce75f35:localhost]

2022-08-17 23:05:48 | [Mutex] received everything.

2022-08-17 23:05:48 | [Mutex] isItemNotified: received:node:0c2a71a7-7ef6-46ed-aa3c-aaadbce75f35:localhost:node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca:Node 8b7f0da0-fa45-46a4-ad0a-93278ed18eca :: false

createNodes 1.540s
2022-08-17 23:05:44 |

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

2022-08-17 23:05:44 | ------------------------------------

2022-08-17 23:05:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8b7f0da0-fa45-46a4-ad0a-93278ed18eca</title></pubsub></data>

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

2022-08-17 23:05:46 | [Mutex] waiting for: [received:nodes:6a95d54c-e147-4f89-a1ff-77e7ebacb62f:localhost]

2022-08-17 23:05:46 | [Mutex] waiting for: [received:nodes:6a95d54c-e147-4f89-a1ff-77e7ebacb62f:localhost]

2022-08-17 23:05:46 | [Mutex] received everything.

2022-08-17 23:05:46 | [Mutex] isItemNotified: received:node:6a95d54c-e147-4f89-a1ff-77e7ebacb62f:localhost:node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca:Node 8b7f0da0-fa45-46a4-ad0a-93278ed18eca :: true

createSubnodes 1.021s
2022-08-17 23:05:46 |

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

2022-08-17 23:05:46 | ------------------------------------

2022-08-17 23:05:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f9427b41-54ae-406f-af01-0e403d2bce0d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f9427b41-54ae-406f-af01-0e403d2bce0d</title></pubsub></data>

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

2022-08-17 23:05:47 | [Mutex] waiting for: [received:nodes:e0d5fe42-8e18-4788-bc63-e8e8aec8f2c1:localhost]

2022-08-17 23:05:47 | [Mutex] waiting for: [received:nodes:e0d5fe42-8e18-4788-bc63-e8e8aec8f2c1:localhost]

2022-08-17 23:05:47 | [Mutex] waiting for: [received:nodes:e0d5fe42-8e18-4788-bc63-e8e8aec8f2c1:localhost]

2022-08-17 23:05:47 | [Mutex] received everything.

2022-08-17 23:05:47 | [Mutex] isItemNotified: received:node:e0d5fe42-8e18-4788-bc63-e8e8aec8f2c1:localhost:node-f9427b41-54ae-406f-af01-0e403d2bce0d:Node f9427b41-54ae-406f-af01-0e403d2bce0d :: true

deleteNodes 1.015s
2022-08-17 23:05:52 |

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

2022-08-17 23:05:52 | ------------------------------------

2022-08-17 23:05:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f9427b41-54ae-406f-af01-0e403d2bce0d</node></data>

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

2022-08-17 23:05:53 | [Mutex] waiting for: [received:nodes:f0198a09-c2ed-4213-8207-93a183a5882c:localhost]

2022-08-17 23:05:53 | [Mutex] waiting for: [received:nodes:f0198a09-c2ed-4213-8207-93a183a5882c:localhost]

2022-08-17 23:05:53 | [Mutex] received everything.

2022-08-17 23:05:53 | [Mutex] isItemNotified: received:node:f0198a09-c2ed-4213-8207-93a183a5882c:localhost:node-f9427b41-54ae-406f-af01-0e403d2bce0d:Node f9427b41-54ae-406f-af01-0e403d2bce0d :: false

deleteSubnodes 1.117s
2022-08-17 23:05:51 |

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

2022-08-17 23:05:51 | ------------------------------------

2022-08-17 23:05:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca</node></data>

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

2022-08-17 23:05:52 | [Mutex] waiting for: [received:nodes:fe787dcd-908f-4530-afae-378d4875d4af:localhost]

2022-08-17 23:05:52 | [Mutex] waiting for: [received:nodes:fe787dcd-908f-4530-afae-378d4875d4af:localhost]

2022-08-17 23:05:52 | [Mutex] waiting for: [received:nodes:fe787dcd-908f-4530-afae-378d4875d4af:localhost]

2022-08-17 23:05:52 | [Mutex] received everything.

2022-08-17 23:05:52 | [Mutex] isItemNotified: received:node:fe787dcd-908f-4530-afae-378d4875d4af:localhost:node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca:Node 8b7f0da0-fa45-46a4-ad0a-93278ed18eca :: false

2022-08-17 23:05:52 | [Mutex] waiting for: [received:nodes:60c62849-e8e2-4be7-bae7-0c7977a0c664:localhost]

2022-08-17 23:05:52 | [Mutex] received everything.

2022-08-17 23:05:52 | [Mutex] isItemNotified: received:node:60c62849-e8e2-4be7-bae7-0c7977a0c664:localhost:node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca:Node 8b7f0da0-fa45-46a4-ad0a-93278ed18eca :: false

publishItemsToNodes 0.241s
2022-08-17 23:05:49 |

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

2022-08-17 23:05:49 | ------------------------------------

2022-08-17 23:05:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca</node><item-id>item-68c3b214-ea8e-444a-89db-ec3b2dae1567</item-id><entry><test>item-68c3b214-ea8e-444a-89db-ec3b2dae1567</test></entry></data>

2022-08-17 23:05:49 | 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-68c3b214-ea8e-444a-89db-ec3b2dae1567</value></item-id></result>

2022-08-17 23:05:49 | [Mutex] waiting for: [published:item:notifieditem-68c3b214-ea8e-444a-89db-ec3b2dae1567:admin@test-domain.com]

2022-08-17 23:05:49 | [Mutex] received everything.

2022-08-17 23:05:49 | [Mutex] isItemNotified: published:item:notifieditem-68c3b214-ea8e-444a-89db-ec3b2dae1567:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2022-08-17 23:05:49 |

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

2022-08-17 23:05:49 | ------------------------------------

2022-08-17 23:05:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca</node><item-id>item-68c3b214-ea8e-444a-89db-ec3b2dae1567</item-id></data>

2022-08-17 23:05:50 | 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-68c3b214-ea8e-444a-89db-ec3b2dae1567</value></item-id></result>

2022-08-17 23:05:50 | [Mutex] received everything.

2022-08-17 23:05:50 | [Mutex] isItemNotified: retracted:item:notifieditem-68c3b214-ea8e-444a-89db-ec3b2dae1567:admin@test-domain.com :: true

retrieveItemsFromNodes 0.150s
2022-08-17 23:05:49 |

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

2022-08-17 23:05:49 | ------------------------------------

2022-08-17 23:05:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca</node><item-id>item-68c3b214-ea8e-444a-89db-ec3b2dae1567</item-id></data>

2022-08-17 23:05:49 | 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-8b7f0da0-fa45-46a4-ad0a-93278ed18eca</value></node><item-id type="text-single" label="Item ID"><value>item-68c3b214-ea8e-444a-89db-ec3b2dae1567</value></item-id><item type="text-multi" label="Item"><value><item id="item-68c3b214-ea8e-444a-89db-ec3b2dae1567"><test>item-68c3b214-ea8e-444a-89db-ec3b2dae1567</test></item></value></item></result>

2022-08-17 23:05:49 | [Mutex] notify: [retrieved:item:item-68c3b214-ea8e-444a-89db-ec3b2dae1567:payload-matches:true:localhost]

2022-08-17 23:05:49 | [Mutex] received everything.

2022-08-17 23:05:49 | [Mutex] isItemNotified: retrieved:item:item-68c3b214-ea8e-444a-89db-ec3b2dae1567:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-08-17 23:05:49 |

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

2022-08-17 23:05:49 | ------------------------------------

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

2022-08-17 23:05:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-f9427b41-54ae-406f-af01-0e403d2bce0d</value><value>test</value><value>node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-08-17 23:05:49 |

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

2022-08-17 23:05:49 | ------------------------------------

2022-08-17 23:05:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca)</node-pattern></data>

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

subscribeNodes 1.142s
2022-08-17 23:05:48 |

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

2022-08-17 23:05:48 | ------------------------------------

2022-08-17 23:05:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.231s
2022-08-17 23:05:50 |

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

2022-08-17 23:05:50 | ------------------------------------

2022-08-17 23:05:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8b7f0da0-fa45-46a4-ad0a-93278ed18eca</node><jids><value>admin@test-domain.com</value></jids></data>

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