Generated by TestNG with ReportNG at 22:44 PDT on Monday 21 June 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / 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 : 10.523s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.131s
2021-06-21 23:00:06 |

2021-06-21 23:00:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:06 | ------------------------------------

2021-06-21 23:00:06 | [Mutex] waiting for: [configured:node:node-47843ee4-1514-43c5-b0ac-e50190fa3d6c:node-11d102df-4dc7-4b5b-81ce-ee4c7eb57b0d]

2021-06-21 23:00:06 | [Mutex] received everything.

2021-06-21 23:00:06 | [Mutex] isItemNotified: configured:node:node-47843ee4-1514-43c5-b0ac-e50190fa3d6c:node-11d102df-4dc7-4b5b-81ce-ee4c7eb57b0d :: true

2021-06-21 23:00:07 | [Mutex] waiting for: [received:nodes:f6729773-74e2-4406-a3d1-c0d429e004d2:localhost]

2021-06-21 23:00:07 | [Mutex] received everything.

2021-06-21 23:00:07 | [Mutex] isItemNotified: received:node:f6729773-74e2-4406-a3d1-c0d429e004d2:localhost:node-47843ee4-1514-43c5-b0ac-e50190fa3d6c:Node 47843ee4-1514-43c5-b0ac-e50190fa3d6c :: true

2021-06-21 23:00:07 | [Mutex] waiting for: [received:nodes:0195e6c4-7143-42b0-9e01-401e43f10c61:localhost]

2021-06-21 23:00:07 | [Mutex] waiting for: [received:nodes:0195e6c4-7143-42b0-9e01-401e43f10c61:localhost]

2021-06-21 23:00:07 | [Mutex] received everything.

2021-06-21 23:00:07 | [Mutex] isItemNotified: received:node:0195e6c4-7143-42b0-9e01-401e43f10c61:localhost:node-47843ee4-1514-43c5-b0ac-e50190fa3d6c:Node 47843ee4-1514-43c5-b0ac-e50190fa3d6c :: false

createNodes 1.635s
2021-06-21 23:00:03 |

2021-06-21 23:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:03 | ------------------------------------

2021-06-21 23:00:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-47843ee4-1514-43c5-b0ac-e50190fa3d6c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 47843ee4-1514-43c5-b0ac-e50190fa3d6c</title></pubsub></data>

2021-06-21 23:00:04 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-21 23:00:05 | [Mutex] waiting for: [received:nodes:b7d291cc-d71c-456f-b631-e65e3936e3b4:localhost]

2021-06-21 23:00:05 | [Mutex] received everything.

2021-06-21 23:00:05 | [Mutex] isItemNotified: received:node:b7d291cc-d71c-456f-b631-e65e3936e3b4:localhost:node-47843ee4-1514-43c5-b0ac-e50190fa3d6c:Node 47843ee4-1514-43c5-b0ac-e50190fa3d6c :: true

createSubnodes 1.040s
2021-06-21 23:00:05 |

2021-06-21 23:00:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:05 | ------------------------------------

2021-06-21 23:00:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-11d102df-4dc7-4b5b-81ce-ee4c7eb57b0d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 11d102df-4dc7-4b5b-81ce-ee4c7eb57b0d</title></pubsub></data>

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

2021-06-21 23:00:06 | [Mutex] waiting for: [received:nodes:2cffc3c7-3d9e-47a7-bf52-1464b1025bad:localhost]

2021-06-21 23:00:06 | [Mutex] received everything.

2021-06-21 23:00:06 | [Mutex] isItemNotified: received:node:2cffc3c7-3d9e-47a7-bf52-1464b1025bad:localhost:node-11d102df-4dc7-4b5b-81ce-ee4c7eb57b0d:Node 11d102df-4dc7-4b5b-81ce-ee4c7eb57b0d :: true

deleteNodes 1.027s
2021-06-21 23:00:12 |

2021-06-21 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:12 | ------------------------------------

2021-06-21 23:00:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-11d102df-4dc7-4b5b-81ce-ee4c7eb57b0d</node></data>

2021-06-21 23:00:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-21 23:00:13 | [Mutex] waiting for: [received:nodes:208754fe-be99-4e50-9545-c7947d9ce94f:localhost]

2021-06-21 23:00:13 | [Mutex] received everything.

2021-06-21 23:00:13 | [Mutex] isItemNotified: received:node:208754fe-be99-4e50-9545-c7947d9ce94f:localhost:node-11d102df-4dc7-4b5b-81ce-ee4c7eb57b0d:Node 11d102df-4dc7-4b5b-81ce-ee4c7eb57b0d :: false

deleteSubnodes 1.164s
2021-06-21 23:00:11 |

2021-06-21 23:00:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:11 | ------------------------------------

2021-06-21 23:00:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-47843ee4-1514-43c5-b0ac-e50190fa3d6c</node></data>

2021-06-21 23:00:11 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-21 23:00:12 | [Mutex] waiting for: [received:nodes:a7e0dc39-7f42-4cdf-a627-118531999151:localhost]

2021-06-21 23:00:12 | [Mutex] received everything.

2021-06-21 23:00:12 | [Mutex] isItemNotified: received:node:a7e0dc39-7f42-4cdf-a627-118531999151:localhost:node-47843ee4-1514-43c5-b0ac-e50190fa3d6c:Node 47843ee4-1514-43c5-b0ac-e50190fa3d6c :: false

2021-06-21 23:00:12 | [Mutex] waiting for: [received:nodes:859eff6d-8757-4d43-b21b-464145a70409:localhost]

2021-06-21 23:00:12 | [Mutex] received everything.

2021-06-21 23:00:12 | [Mutex] isItemNotified: received:node:859eff6d-8757-4d43-b21b-464145a70409:localhost:node-47843ee4-1514-43c5-b0ac-e50190fa3d6c:Node 47843ee4-1514-43c5-b0ac-e50190fa3d6c :: false

publishItemsToNodes 0.256s
2021-06-21 23:00:08 |

2021-06-21 23:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:08 | ------------------------------------

2021-06-21 23:00:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-47843ee4-1514-43c5-b0ac-e50190fa3d6c</node><item-id>item-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef</item-id><entry><test>item-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef</test></entry></data>

2021-06-21 23:00:08 | 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-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef</value></item-id></result>

2021-06-21 23:00:08 | [Mutex] waiting for: [published:item:notifieditem-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef:admin@test-domain.com]

2021-06-21 23:00:08 | [Mutex] received everything.

2021-06-21 23:00:08 | [Mutex] isItemNotified: published:item:notifieditem-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2021-06-21 23:00:09 |

2021-06-21 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:09 | ------------------------------------

2021-06-21 23:00:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-47843ee4-1514-43c5-b0ac-e50190fa3d6c</node><item-id>item-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef</item-id></data>

2021-06-21 23:00:09 | 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-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef</value></item-id></result>

2021-06-21 23:00:09 | [Mutex] received everything.

2021-06-21 23:00:09 | [Mutex] isItemNotified: retracted:item:notifieditem-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef:admin@test-domain.com :: true

retrieveItemsFromNodes 0.425s
2021-06-21 23:00:08 |

2021-06-21 23:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:08 | ------------------------------------

2021-06-21 23:00:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-47843ee4-1514-43c5-b0ac-e50190fa3d6c</node><item-id>item-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef</item-id></data>

2021-06-21 23:00:09 | 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-47843ee4-1514-43c5-b0ac-e50190fa3d6c</value></node><item-id type="text-single" label="Item ID"><value>item-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef</value></item-id><item type="text-multi" label="Item"><value><item id="item-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef"><test>item-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef</test></item></value></item></result>

2021-06-21 23:00:09 | [Mutex] notify: [retrieved:item:item-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef:payload-matches:true:localhost]

2021-06-21 23:00:09 | [Mutex] received everything.

2021-06-21 23:00:09 | [Mutex] isItemNotified: retrieved:item:item-1cf8d713-a9fc-4ba5-8775-5e81bbfaebef:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.065s
2021-06-21 23:00:09 |

2021-06-21 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:09 | ------------------------------------

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

2021-06-21 23:00:09 | 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-47843ee4-1514-43c5-b0ac-e50190fa3d6c</value><value>node-11d102df-4dc7-4b5b-81ce-ee4c7eb57b0d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.067s
2021-06-21 23:00:09 |

2021-06-21 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:09 | ------------------------------------

2021-06-21 23:00:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-47843ee4-1514-43c5-b0ac-e50190fa3d6c)</node-pattern></data>

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

subscribeNodes 1.214s
2021-06-21 23:00:07 |

2021-06-21 23:00:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:07 | ------------------------------------

2021-06-21 23:00:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-47843ee4-1514-43c5-b0ac-e50190fa3d6c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-21 23:00:07 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.243s
2021-06-21 23:00:09 |

2021-06-21 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-21 23:00:09 | ------------------------------------

2021-06-21 23:00:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-47843ee4-1514-43c5-b0ac-e50190fa3d6c</node><jids><value>admin@test-domain.com</value></jids></data>

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