Generated by TestNG with ReportNG at 22:46 PDT on Thursday 07 July 2022
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.521s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2022-07-07 23:00:36 |

2022-07-07 23:00:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:36 | ------------------------------------

2022-07-07 23:00:36 | [Mutex] waiting for: [configured:node:node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f:node-faf065be-6ea1-4343-91df-9ab305a18197]

2022-07-07 23:00:36 | [Mutex] received everything.

2022-07-07 23:00:36 | [Mutex] isItemNotified: configured:node:node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f:node-faf065be-6ea1-4343-91df-9ab305a18197 :: true

2022-07-07 23:00:37 | [Mutex] waiting for: [received:nodes:f4227bfa-5998-4f0b-9d03-50f9bfa967ac:localhost]

2022-07-07 23:00:37 | [Mutex] received everything.

2022-07-07 23:00:37 | [Mutex] isItemNotified: received:node:f4227bfa-5998-4f0b-9d03-50f9bfa967ac:localhost:node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f:Node be8e2a2e-21da-4fe9-aaf8-af5034e9816f :: true

2022-07-07 23:00:37 | [Mutex] waiting for: [received:nodes:e6e2d6d0-6a26-4cc1-ac62-7af5fba73f54:localhost]

2022-07-07 23:00:37 | [Mutex] received everything.

2022-07-07 23:00:37 | [Mutex] isItemNotified: received:node:e6e2d6d0-6a26-4cc1-ac62-7af5fba73f54:localhost:node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f:Node be8e2a2e-21da-4fe9-aaf8-af5034e9816f :: false

createNodes 1.455s
2022-07-07 23:00:34 |

2022-07-07 23:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:34 | ------------------------------------

2022-07-07 23:00:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node be8e2a2e-21da-4fe9-aaf8-af5034e9816f</title></pubsub></data>

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

2022-07-07 23:00:35 | [Mutex] waiting for: [received:nodes:23a61cbc-6df5-4a0e-8964-8f85969e7893:localhost]

2022-07-07 23:00:35 | [Mutex] received everything.

2022-07-07 23:00:35 | [Mutex] isItemNotified: received:node:23a61cbc-6df5-4a0e-8964-8f85969e7893:localhost:node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f:Node be8e2a2e-21da-4fe9-aaf8-af5034e9816f :: true

createSubnodes 1.023s
2022-07-07 23:00:35 |

2022-07-07 23:00:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:35 | ------------------------------------

2022-07-07 23:00:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-faf065be-6ea1-4343-91df-9ab305a18197</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node faf065be-6ea1-4343-91df-9ab305a18197</title></pubsub></data>

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

2022-07-07 23:00:36 | [Mutex] waiting for: [received:nodes:e1a4383f-6af2-45ce-ac4e-8e4a8202e9f6:localhost]

2022-07-07 23:00:36 | [Mutex] received everything.

2022-07-07 23:00:36 | [Mutex] isItemNotified: received:node:e1a4383f-6af2-45ce-ac4e-8e4a8202e9f6:localhost:node-faf065be-6ea1-4343-91df-9ab305a18197:Node faf065be-6ea1-4343-91df-9ab305a18197 :: true

deleteNodes 1.016s
2022-07-07 23:00:42 |

2022-07-07 23:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:42 | ------------------------------------

2022-07-07 23:00:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-faf065be-6ea1-4343-91df-9ab305a18197</node></data>

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

2022-07-07 23:00:43 | [Mutex] waiting for: [received:nodes:4a7abc2d-29e4-401c-80df-8ad9e34c28ed:localhost]

2022-07-07 23:00:43 | [Mutex] received everything.

2022-07-07 23:00:43 | [Mutex] isItemNotified: received:node:4a7abc2d-29e4-401c-80df-8ad9e34c28ed:localhost:node-faf065be-6ea1-4343-91df-9ab305a18197:Node faf065be-6ea1-4343-91df-9ab305a18197 :: false

deleteSubnodes 1.165s
2022-07-07 23:00:41 |

2022-07-07 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:41 | ------------------------------------

2022-07-07 23:00:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f</node></data>

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

2022-07-07 23:00:42 | [Mutex] waiting for: [received:nodes:6c08326e-ccc4-4139-adf3-7b469c4342a4:localhost]

2022-07-07 23:00:42 | [Mutex] received everything.

2022-07-07 23:00:42 | [Mutex] isItemNotified: received:node:6c08326e-ccc4-4139-adf3-7b469c4342a4:localhost:node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f:Node be8e2a2e-21da-4fe9-aaf8-af5034e9816f :: false

2022-07-07 23:00:42 | [Mutex] waiting for: [received:nodes:3e386be4-dc6d-4d99-8fe6-1b875bac4c4d:localhost]

2022-07-07 23:00:42 | [Mutex] received everything.

2022-07-07 23:00:42 | [Mutex] isItemNotified: received:node:3e386be4-dc6d-4d99-8fe6-1b875bac4c4d:localhost:node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f:Node be8e2a2e-21da-4fe9-aaf8-af5034e9816f :: false

publishItemsToNodes 0.228s
2022-07-07 23:00:38 |

2022-07-07 23:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:38 | ------------------------------------

2022-07-07 23:00:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f</node><item-id>item-5aa1ad7f-7ad8-4d72-8538-68101da7a131</item-id><entry><test>item-5aa1ad7f-7ad8-4d72-8538-68101da7a131</test></entry></data>

2022-07-07 23:00:39 | 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-5aa1ad7f-7ad8-4d72-8538-68101da7a131</value></item-id></result>

2022-07-07 23:00:39 | [Mutex] waiting for: [published:item:notifieditem-5aa1ad7f-7ad8-4d72-8538-68101da7a131:admin@test-domain.com]

2022-07-07 23:00:39 | [Mutex] received everything.

2022-07-07 23:00:39 | [Mutex] isItemNotified: published:item:notifieditem-5aa1ad7f-7ad8-4d72-8538-68101da7a131:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2022-07-07 23:00:39 |

2022-07-07 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:39 | ------------------------------------

2022-07-07 23:00:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f</node><item-id>item-5aa1ad7f-7ad8-4d72-8538-68101da7a131</item-id></data>

2022-07-07 23:00:39 | 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-5aa1ad7f-7ad8-4d72-8538-68101da7a131</value></item-id></result>

2022-07-07 23:00:39 | [Mutex] received everything.

2022-07-07 23:00:39 | [Mutex] isItemNotified: retracted:item:notifieditem-5aa1ad7f-7ad8-4d72-8538-68101da7a131:admin@test-domain.com :: true

retrieveItemsFromNodes 0.202s
2022-07-07 23:00:39 |

2022-07-07 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:39 | ------------------------------------

2022-07-07 23:00:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f</node><item-id>item-5aa1ad7f-7ad8-4d72-8538-68101da7a131</item-id></data>

2022-07-07 23:00:39 | 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-be8e2a2e-21da-4fe9-aaf8-af5034e9816f</value></node><item-id label="Item ID" type="text-single"><value>item-5aa1ad7f-7ad8-4d72-8538-68101da7a131</value></item-id><item label="Item" type="text-multi"><value><item id="item-5aa1ad7f-7ad8-4d72-8538-68101da7a131"><test>item-5aa1ad7f-7ad8-4d72-8538-68101da7a131</test></item></value></item></result>

2022-07-07 23:00:39 | [Mutex] notify: [retrieved:item:item-5aa1ad7f-7ad8-4d72-8538-68101da7a131:payload-matches:true:localhost]

2022-07-07 23:00:39 | [Mutex] received everything.

2022-07-07 23:00:39 | [Mutex] isItemNotified: retrieved:item:item-5aa1ad7f-7ad8-4d72-8538-68101da7a131:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-07-07 23:00:39 |

2022-07-07 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:39 | ------------------------------------

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

2022-07-07 23:00:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-faf065be-6ea1-4343-91df-9ab305a18197</value><value>node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-07 23:00:39 |

2022-07-07 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:39 | ------------------------------------

2022-07-07 23:00:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f)</node-pattern></data>

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

subscribeNodes 1.116s
2022-07-07 23:00:37 |

2022-07-07 23:00:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:37 | ------------------------------------

2022-07-07 23:00:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.197s
2022-07-07 23:00:39 |

2022-07-07 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 23:00:39 | ------------------------------------

2022-07-07 23:00:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-be8e2a2e-21da-4fe9-aaf8-af5034e9816f</node><jids><value>admin@test-domain.com</value></jids></data>

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