Generated by TestNG with ReportNG at 22:25 PDT on Friday 10 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.680s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.118s
2022-06-10 22:40:52 |

2022-06-10 22:40:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 22:40:52 | ------------------------------------

2022-06-10 22:40:52 | [Mutex] waiting for: [configured:node:node-a9ba95ac-bc6b-407b-9b29-964eb99db87a:node-5e6b6e91-ec13-4fb4-87c1-d38ae9339ad7]

2022-06-10 22:40:53 | [Mutex] received everything.

2022-06-10 22:40:53 | [Mutex] isItemNotified: configured:node:node-a9ba95ac-bc6b-407b-9b29-964eb99db87a:node-5e6b6e91-ec13-4fb4-87c1-d38ae9339ad7 :: true

2022-06-10 22:40:54 | [Mutex] waiting for: [received:nodes:b9246ecf-502b-4352-a880-b24b0894f982:localhost]

2022-06-10 22:40:54 | [Mutex] waiting for: [received:nodes:b9246ecf-502b-4352-a880-b24b0894f982:localhost]

2022-06-10 22:40:54 | [Mutex] received everything.

2022-06-10 22:40:54 | [Mutex] isItemNotified: received:node:b9246ecf-502b-4352-a880-b24b0894f982:localhost:node-a9ba95ac-bc6b-407b-9b29-964eb99db87a:Node a9ba95ac-bc6b-407b-9b29-964eb99db87a :: true

2022-06-10 22:40:54 | [Mutex] waiting for: [received:nodes:34f1f5ea-6d28-47bf-983a-523eccfefbb3:localhost]

2022-06-10 22:40:54 | [Mutex] waiting for: [received:nodes:34f1f5ea-6d28-47bf-983a-523eccfefbb3:localhost]

2022-06-10 22:40:54 | [Mutex] waiting for: [received:nodes:34f1f5ea-6d28-47bf-983a-523eccfefbb3:localhost]

2022-06-10 22:40:54 | [Mutex] waiting for: [received:nodes:34f1f5ea-6d28-47bf-983a-523eccfefbb3:localhost]

2022-06-10 22:40:54 | [Mutex] received everything.

2022-06-10 22:40:54 | [Mutex] isItemNotified: received:node:34f1f5ea-6d28-47bf-983a-523eccfefbb3:localhost:node-a9ba95ac-bc6b-407b-9b29-964eb99db87a:Node a9ba95ac-bc6b-407b-9b29-964eb99db87a :: false

createNodes 1.578s
2022-06-10 22:40:50 |

2022-06-10 22:40:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 22:40:50 | ------------------------------------

2022-06-10 22:40:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a9ba95ac-bc6b-407b-9b29-964eb99db87a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a9ba95ac-bc6b-407b-9b29-964eb99db87a</title></pubsub></data>

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

2022-06-10 22:40:51 | [Mutex] waiting for: [received:nodes:27c76ef2-e0f6-4822-be4d-d6488d9a5149:localhost]

2022-06-10 22:40:51 | [Mutex] waiting for: [received:nodes:27c76ef2-e0f6-4822-be4d-d6488d9a5149:localhost]

2022-06-10 22:40:51 | [Mutex] received everything.

2022-06-10 22:40:51 | [Mutex] isItemNotified: received:node:27c76ef2-e0f6-4822-be4d-d6488d9a5149:localhost:node-a9ba95ac-bc6b-407b-9b29-964eb99db87a:Node a9ba95ac-bc6b-407b-9b29-964eb99db87a :: true

createSubnodes 1.032s
2022-06-10 22:40:51 |

2022-06-10 22:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 22:40:51 | ------------------------------------

2022-06-10 22:40:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5e6b6e91-ec13-4fb4-87c1-d38ae9339ad7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5e6b6e91-ec13-4fb4-87c1-d38ae9339ad7</title></pubsub></data>

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

2022-06-10 22:40:52 | [Mutex] waiting for: [received:nodes:bf8f5e53-6e04-46e3-8eae-a789319b9a12:localhost]

2022-06-10 22:40:52 | [Mutex] received everything.

2022-06-10 22:40:52 | [Mutex] isItemNotified: received:node:bf8f5e53-6e04-46e3-8eae-a789319b9a12:localhost:node-5e6b6e91-ec13-4fb4-87c1-d38ae9339ad7:Node 5e6b6e91-ec13-4fb4-87c1-d38ae9339ad7 :: true

deleteNodes 1.021s
2022-06-10 22:40:58 |

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

2022-06-10 22:40:58 | ------------------------------------

2022-06-10 22:40:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5e6b6e91-ec13-4fb4-87c1-d38ae9339ad7</node></data>

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

2022-06-10 22:40:59 | [Mutex] waiting for: [received:nodes:98af21fa-3b4b-40ba-af1c-44ed2632d7ae:localhost]

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

2022-06-10 22:40:59 | [Mutex] isItemNotified: received:node:98af21fa-3b4b-40ba-af1c-44ed2632d7ae:localhost:node-5e6b6e91-ec13-4fb4-87c1-d38ae9339ad7:Node 5e6b6e91-ec13-4fb4-87c1-d38ae9339ad7 :: false

deleteSubnodes 1.131s
2022-06-10 22:40:57 |

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

2022-06-10 22:40:57 | ------------------------------------

2022-06-10 22:40:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a9ba95ac-bc6b-407b-9b29-964eb99db87a</node></data>

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

2022-06-10 22:40:58 | [Mutex] waiting for: [received:nodes:290a14ec-07b4-4578-8376-46e68485fd32:localhost]

2022-06-10 22:40:58 | [Mutex] waiting for: [received:nodes:290a14ec-07b4-4578-8376-46e68485fd32:localhost]

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

2022-06-10 22:40:58 | [Mutex] isItemNotified: received:node:290a14ec-07b4-4578-8376-46e68485fd32:localhost:node-a9ba95ac-bc6b-407b-9b29-964eb99db87a:Node a9ba95ac-bc6b-407b-9b29-964eb99db87a :: false

2022-06-10 22:40:58 | [Mutex] waiting for: [received:nodes:af7c27a8-1b2b-494f-85e9-bec047dddd9b:localhost]

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

2022-06-10 22:40:58 | [Mutex] isItemNotified: received:node:af7c27a8-1b2b-494f-85e9-bec047dddd9b:localhost:node-a9ba95ac-bc6b-407b-9b29-964eb99db87a:Node a9ba95ac-bc6b-407b-9b29-964eb99db87a :: false

publishItemsToNodes 0.199s
2022-06-10 22:40:55 |

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

2022-06-10 22:40:55 | ------------------------------------

2022-06-10 22:40:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a9ba95ac-bc6b-407b-9b29-964eb99db87a</node><item-id>item-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c</item-id><entry><test>item-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c</test></entry></data>

2022-06-10 22:40:55 | 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-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c</value></item-id></result>

2022-06-10 22:40:55 | [Mutex] received everything.

2022-06-10 22:40:55 | [Mutex] isItemNotified: published:item:notifieditem-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2022-06-10 22:40:55 |

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

2022-06-10 22:40:55 | ------------------------------------

2022-06-10 22:40:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a9ba95ac-bc6b-407b-9b29-964eb99db87a</node><item-id>item-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c</item-id></data>

2022-06-10 22:40:56 | 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-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c</value></item-id></result>

2022-06-10 22:40:56 | [Mutex] received everything.

2022-06-10 22:40:56 | [Mutex] isItemNotified: retracted:item:notifieditem-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.269s
2022-06-10 22:40:55 |

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

2022-06-10 22:40:55 | ------------------------------------

2022-06-10 22:40:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a9ba95ac-bc6b-407b-9b29-964eb99db87a</node><item-id>item-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c</item-id></data>

2022-06-10 22:40:55 | 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-a9ba95ac-bc6b-407b-9b29-964eb99db87a</value></node><item-id type="text-single" label="Item ID"><value>item-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c</value></item-id><item type="text-multi" label="Item"><value><item id="item-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c"><test>item-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c</test></item></value></item></result>

2022-06-10 22:40:55 | [Mutex] notify: [retrieved:item:item-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c:payload-matches:true:localhost]

2022-06-10 22:40:55 | [Mutex] received everything.

2022-06-10 22:40:55 | [Mutex] isItemNotified: retrieved:item:item-b94ce2a8-a475-45cf-8ff6-5c45e06dfd6c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-10 22:40:55 |

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

2022-06-10 22:40:55 | ------------------------------------

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

2022-06-10 22:40:55 | 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-5e6b6e91-ec13-4fb4-87c1-d38ae9339ad7</value><value>node-a9ba95ac-bc6b-407b-9b29-964eb99db87a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-10 22:40:55 |

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

2022-06-10 22:40:55 | ------------------------------------

2022-06-10 22:40:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a9ba95ac-bc6b-407b-9b29-964eb99db87a)</node-pattern></data>

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

subscribeNodes 1.141s
2022-06-10 22:40:54 |

2022-06-10 22:40:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 22:40:54 | ------------------------------------

2022-06-10 22:40:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a9ba95ac-bc6b-407b-9b29-964eb99db87a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.175s
2022-06-10 22:40:56 |

2022-06-10 22:40:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-10 22:40:56 | ------------------------------------

2022-06-10 22:40:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a9ba95ac-bc6b-407b-9b29-964eb99db87a</node><jids><value>admin@test-domain.com</value></jids></data>

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