Generated by TestNG with ReportNG at 21:50 PST on Friday 17 February 2023
root@ed1b7dd8a1b3 / 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.369s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2023-02-17 22:05:26 |

2023-02-17 22:05:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:26 | ------------------------------------

2023-02-17 22:05:26 | [Mutex] waiting for: [configured:node:node-561e7cad-9b39-49a2-9022-b2aa89aa023e:node-30b4ab95-8a24-4ef9-a7b8-01ec8916da3f]

2023-02-17 22:05:27 | [Mutex] received everything.

2023-02-17 22:05:27 | [Mutex] isItemNotified: configured:node:node-561e7cad-9b39-49a2-9022-b2aa89aa023e:node-30b4ab95-8a24-4ef9-a7b8-01ec8916da3f :: true

2023-02-17 22:05:28 | [Mutex] waiting for: [received:nodes:52c7c566-85bc-4da3-861b-b771eca4788f:localhost]

2023-02-17 22:05:28 | [Mutex] received everything.

2023-02-17 22:05:28 | [Mutex] isItemNotified: received:node:52c7c566-85bc-4da3-861b-b771eca4788f:localhost:node-561e7cad-9b39-49a2-9022-b2aa89aa023e:Node 561e7cad-9b39-49a2-9022-b2aa89aa023e :: true

2023-02-17 22:05:28 | [Mutex] waiting for: [received:nodes:f65f5371-7738-4c35-bbb6-001f3e9bcf86:localhost]

2023-02-17 22:05:28 | [Mutex] waiting for: [received:nodes:f65f5371-7738-4c35-bbb6-001f3e9bcf86:localhost]

2023-02-17 22:05:28 | [Mutex] waiting for: [received:nodes:f65f5371-7738-4c35-bbb6-001f3e9bcf86:localhost]

2023-02-17 22:05:28 | [Mutex] waiting for: [received:nodes:f65f5371-7738-4c35-bbb6-001f3e9bcf86:localhost]

2023-02-17 22:05:28 | [Mutex] received everything.

2023-02-17 22:05:28 | [Mutex] isItemNotified: received:node:f65f5371-7738-4c35-bbb6-001f3e9bcf86:localhost:node-561e7cad-9b39-49a2-9022-b2aa89aa023e:Node 561e7cad-9b39-49a2-9022-b2aa89aa023e :: false

createNodes 1.380s
2023-02-17 22:05:24 |

2023-02-17 22:05:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:24 | ------------------------------------

2023-02-17 22:05:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-561e7cad-9b39-49a2-9022-b2aa89aa023e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 561e7cad-9b39-49a2-9022-b2aa89aa023e</title></pubsub></data>

2023-02-17 22:05:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 22:05:25 | [Mutex] waiting for: [received:nodes:980f24e7-682b-4108-be09-5b24c17904a4:localhost]

2023-02-17 22:05:25 | [Mutex] waiting for: [received:nodes:980f24e7-682b-4108-be09-5b24c17904a4:localhost]

2023-02-17 22:05:25 | [Mutex] waiting for: [received:nodes:980f24e7-682b-4108-be09-5b24c17904a4:localhost]

2023-02-17 22:05:25 | [Mutex] received everything.

2023-02-17 22:05:25 | [Mutex] isItemNotified: received:node:980f24e7-682b-4108-be09-5b24c17904a4:localhost:node-561e7cad-9b39-49a2-9022-b2aa89aa023e:Node 561e7cad-9b39-49a2-9022-b2aa89aa023e :: true

createSubnodes 1.021s
2023-02-17 22:05:25 |

2023-02-17 22:05:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:25 | ------------------------------------

2023-02-17 22:05:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-30b4ab95-8a24-4ef9-a7b8-01ec8916da3f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 30b4ab95-8a24-4ef9-a7b8-01ec8916da3f</title></pubsub></data>

2023-02-17 22:05:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 22:05:26 | [Mutex] waiting for: [received:nodes:ed7a6a8d-cdfe-4619-ad76-7fe1b9312062:localhost]

2023-02-17 22:05:26 | [Mutex] waiting for: [received:nodes:ed7a6a8d-cdfe-4619-ad76-7fe1b9312062:localhost]

2023-02-17 22:05:26 | [Mutex] waiting for: [received:nodes:ed7a6a8d-cdfe-4619-ad76-7fe1b9312062:localhost]

2023-02-17 22:05:26 | [Mutex] waiting for: [received:nodes:ed7a6a8d-cdfe-4619-ad76-7fe1b9312062:localhost]

2023-02-17 22:05:26 | [Mutex] received everything.

2023-02-17 22:05:26 | [Mutex] isItemNotified: received:node:ed7a6a8d-cdfe-4619-ad76-7fe1b9312062:localhost:node-30b4ab95-8a24-4ef9-a7b8-01ec8916da3f:Node 30b4ab95-8a24-4ef9-a7b8-01ec8916da3f :: true

deleteNodes 1.016s
2023-02-17 22:05:32 |

2023-02-17 22:05:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:32 | ------------------------------------

2023-02-17 22:05:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-30b4ab95-8a24-4ef9-a7b8-01ec8916da3f</node></data>

2023-02-17 22:05:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 22:05:33 | [Mutex] waiting for: [received:nodes:fec30892-7e15-4bd4-857e-b55b18c6fc36:localhost]

2023-02-17 22:05:33 | [Mutex] received everything.

2023-02-17 22:05:33 | [Mutex] isItemNotified: received:node:fec30892-7e15-4bd4-857e-b55b18c6fc36:localhost:node-30b4ab95-8a24-4ef9-a7b8-01ec8916da3f:Node 30b4ab95-8a24-4ef9-a7b8-01ec8916da3f :: false

deleteSubnodes 1.132s
2023-02-17 22:05:31 |

2023-02-17 22:05:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:31 | ------------------------------------

2023-02-17 22:05:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-561e7cad-9b39-49a2-9022-b2aa89aa023e</node></data>

2023-02-17 22:05:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 22:05:32 | [Mutex] waiting for: [received:nodes:847d1390-3468-46e5-8583-fb13a26b901d:localhost]

2023-02-17 22:05:32 | [Mutex] waiting for: [received:nodes:847d1390-3468-46e5-8583-fb13a26b901d:localhost]

2023-02-17 22:05:32 | [Mutex] waiting for: [received:nodes:847d1390-3468-46e5-8583-fb13a26b901d:localhost]

2023-02-17 22:05:32 | [Mutex] received everything.

2023-02-17 22:05:32 | [Mutex] isItemNotified: received:node:847d1390-3468-46e5-8583-fb13a26b901d:localhost:node-561e7cad-9b39-49a2-9022-b2aa89aa023e:Node 561e7cad-9b39-49a2-9022-b2aa89aa023e :: false

2023-02-17 22:05:32 | [Mutex] waiting for: [received:nodes:fbb16981-f3b7-45ed-81b1-e2825f37d4b2:localhost]

2023-02-17 22:05:32 | [Mutex] received everything.

2023-02-17 22:05:32 | [Mutex] isItemNotified: received:node:fbb16981-f3b7-45ed-81b1-e2825f37d4b2:localhost:node-561e7cad-9b39-49a2-9022-b2aa89aa023e:Node 561e7cad-9b39-49a2-9022-b2aa89aa023e :: false

publishItemsToNodes 0.209s
2023-02-17 22:05:29 |

2023-02-17 22:05:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:29 | ------------------------------------

2023-02-17 22:05:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-561e7cad-9b39-49a2-9022-b2aa89aa023e</node><item-id>item-a3353af6-cfb3-40b8-ab09-85fe98899875</item-id><entry><test>item-a3353af6-cfb3-40b8-ab09-85fe98899875</test></entry></data>

2023-02-17 22:05:29 | 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-a3353af6-cfb3-40b8-ab09-85fe98899875</value></item-id></result>

2023-02-17 22:05:29 | [Mutex] waiting for: [published:item:notifieditem-a3353af6-cfb3-40b8-ab09-85fe98899875:admin@test-domain.com]

2023-02-17 22:05:29 | [Mutex] received everything.

2023-02-17 22:05:29 | [Mutex] isItemNotified: published:item:notifieditem-a3353af6-cfb3-40b8-ab09-85fe98899875:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2023-02-17 22:05:29 |

2023-02-17 22:05:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:29 | ------------------------------------

2023-02-17 22:05:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-561e7cad-9b39-49a2-9022-b2aa89aa023e</node><item-id>item-a3353af6-cfb3-40b8-ab09-85fe98899875</item-id></data>

2023-02-17 22:05:29 | 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-a3353af6-cfb3-40b8-ab09-85fe98899875</value></item-id></result>

2023-02-17 22:05:29 | [Mutex] received everything.

2023-02-17 22:05:29 | [Mutex] isItemNotified: retracted:item:notifieditem-a3353af6-cfb3-40b8-ab09-85fe98899875:admin@test-domain.com :: true

retrieveItemsFromNodes 0.211s
2023-02-17 22:05:29 |

2023-02-17 22:05:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:29 | ------------------------------------

2023-02-17 22:05:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-561e7cad-9b39-49a2-9022-b2aa89aa023e</node><item-id>item-a3353af6-cfb3-40b8-ab09-85fe98899875</item-id></data>

2023-02-17 22:05:29 | 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-561e7cad-9b39-49a2-9022-b2aa89aa023e</value></node><item-id label="Item ID" type="text-single"><value>item-a3353af6-cfb3-40b8-ab09-85fe98899875</value></item-id><item label="Item" type="text-multi"><value><item id="item-a3353af6-cfb3-40b8-ab09-85fe98899875"><test>item-a3353af6-cfb3-40b8-ab09-85fe98899875</test></item></value></item></result>

2023-02-17 22:05:29 | [Mutex] notify: [retrieved:item:item-a3353af6-cfb3-40b8-ab09-85fe98899875:payload-matches:true:localhost]

2023-02-17 22:05:29 | [Mutex] received everything.

2023-02-17 22:05:29 | [Mutex] isItemNotified: retrieved:item:item-a3353af6-cfb3-40b8-ab09-85fe98899875:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2023-02-17 22:05:29 |

2023-02-17 22:05:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:29 | ------------------------------------

2023-02-17 22:05:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-17 22:05:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-30b4ab95-8a24-4ef9-a7b8-01ec8916da3f</value><value>node-561e7cad-9b39-49a2-9022-b2aa89aa023e</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-02-17 22:05:29 |

2023-02-17 22:05:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:29 | ------------------------------------

2023-02-17 22:05:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-561e7cad-9b39-49a2-9022-b2aa89aa023e)</node-pattern></data>

2023-02-17 22:05:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.139s
2023-02-17 22:05:28 |

2023-02-17 22:05:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:28 | ------------------------------------

2023-02-17 22:05:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-561e7cad-9b39-49a2-9022-b2aa89aa023e</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-17 22:05:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.179s
2023-02-17 22:05:29 |

2023-02-17 22:05:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 22:05:29 | ------------------------------------

2023-02-17 22:05:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-561e7cad-9b39-49a2-9022-b2aa89aa023e</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-17 22:05:30 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>