Generated by TestNG with ReportNG at 05:50 PDT on Tuesday 12 July 2022
root@f9c07ffec79b / 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.487s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-07-12 06:05:57 |

2022-07-12 06:05:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:57 | ------------------------------------

2022-07-12 06:05:57 | [Mutex] waiting for: [configured:node:node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b:node-f85e640f-fdc3-41d6-b85b-2120f510981a]

2022-07-12 06:05:57 | [Mutex] received everything.

2022-07-12 06:05:57 | [Mutex] isItemNotified: configured:node:node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b:node-f85e640f-fdc3-41d6-b85b-2120f510981a :: true

2022-07-12 06:05:58 | [Mutex] waiting for: [received:nodes:246a5515-79ed-424d-85ff-7620044a713e:localhost]

2022-07-12 06:05:58 | [Mutex] received everything.

2022-07-12 06:05:58 | [Mutex] isItemNotified: received:node:246a5515-79ed-424d-85ff-7620044a713e:localhost:node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b:Node 796565e0-f6f7-4e3e-8089-7f6a8ed0f94b :: true

2022-07-12 06:05:58 | [Mutex] waiting for: [received:nodes:ccaeb211-c481-4a89-8e89-dd8adabd5090:localhost]

2022-07-12 06:05:58 | [Mutex] waiting for: [received:nodes:ccaeb211-c481-4a89-8e89-dd8adabd5090:localhost]

2022-07-12 06:05:58 | [Mutex] received everything.

2022-07-12 06:05:58 | [Mutex] isItemNotified: received:node:ccaeb211-c481-4a89-8e89-dd8adabd5090:localhost:node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b:Node 796565e0-f6f7-4e3e-8089-7f6a8ed0f94b :: false

createNodes 1.387s
2022-07-12 06:05:55 |

2022-07-12 06:05:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:55 | ------------------------------------

2022-07-12 06:05:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 796565e0-f6f7-4e3e-8089-7f6a8ed0f94b</title></pubsub></data>

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

2022-07-12 06:05:56 | [Mutex] waiting for: [received:nodes:d4630b35-c37c-4785-92bd-245c0ed555b5:localhost]

2022-07-12 06:05:56 | [Mutex] received everything.

2022-07-12 06:05:56 | [Mutex] isItemNotified: received:node:d4630b35-c37c-4785-92bd-245c0ed555b5:localhost:node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b:Node 796565e0-f6f7-4e3e-8089-7f6a8ed0f94b :: true

createSubnodes 1.022s
2022-07-12 06:05:56 |

2022-07-12 06:05:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:56 | ------------------------------------

2022-07-12 06:05:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f85e640f-fdc3-41d6-b85b-2120f510981a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f85e640f-fdc3-41d6-b85b-2120f510981a</title></pubsub></data>

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

2022-07-12 06:05:57 | [Mutex] waiting for: [received:nodes:2b5b74f7-aaea-43b4-8765-c29ae8d94c2b:localhost]

2022-07-12 06:05:57 | [Mutex] received everything.

2022-07-12 06:05:57 | [Mutex] isItemNotified: received:node:2b5b74f7-aaea-43b4-8765-c29ae8d94c2b:localhost:node-f85e640f-fdc3-41d6-b85b-2120f510981a:Node f85e640f-fdc3-41d6-b85b-2120f510981a :: true

deleteNodes 1.016s
2022-07-12 06:06:03 |

2022-07-12 06:06:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:06:03 | ------------------------------------

2022-07-12 06:06:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f85e640f-fdc3-41d6-b85b-2120f510981a</node></data>

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

2022-07-12 06:06:04 | [Mutex] waiting for: [received:nodes:bec338f5-0673-4e2f-8fb4-21880745a37c:localhost]

2022-07-12 06:06:04 | [Mutex] waiting for: [received:nodes:bec338f5-0673-4e2f-8fb4-21880745a37c:localhost]

2022-07-12 06:06:04 | [Mutex] received everything.

2022-07-12 06:06:04 | [Mutex] isItemNotified: received:node:bec338f5-0673-4e2f-8fb4-21880745a37c:localhost:node-f85e640f-fdc3-41d6-b85b-2120f510981a:Node f85e640f-fdc3-41d6-b85b-2120f510981a :: false

deleteSubnodes 1.135s
2022-07-12 06:06:01 |

2022-07-12 06:06:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:06:01 | ------------------------------------

2022-07-12 06:06:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b</node></data>

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

2022-07-12 06:06:03 | [Mutex] waiting for: [received:nodes:4cb64d21-10b7-4eb7-b6c8-c3bd5ac7e62c:localhost]

2022-07-12 06:06:03 | [Mutex] waiting for: [received:nodes:4cb64d21-10b7-4eb7-b6c8-c3bd5ac7e62c:localhost]

2022-07-12 06:06:03 | [Mutex] waiting for: [received:nodes:4cb64d21-10b7-4eb7-b6c8-c3bd5ac7e62c:localhost]

2022-07-12 06:06:03 | [Mutex] waiting for: [received:nodes:4cb64d21-10b7-4eb7-b6c8-c3bd5ac7e62c:localhost]

2022-07-12 06:06:03 | [Mutex] received everything.

2022-07-12 06:06:03 | [Mutex] isItemNotified: received:node:4cb64d21-10b7-4eb7-b6c8-c3bd5ac7e62c:localhost:node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b:Node 796565e0-f6f7-4e3e-8089-7f6a8ed0f94b :: false

2022-07-12 06:06:03 | [Mutex] waiting for: [received:nodes:b757647b-cece-40ce-9235-e995f57ea147:localhost]

2022-07-12 06:06:03 | [Mutex] received everything.

2022-07-12 06:06:03 | [Mutex] isItemNotified: received:node:b757647b-cece-40ce-9235-e995f57ea147:localhost:node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b:Node 796565e0-f6f7-4e3e-8089-7f6a8ed0f94b :: false

publishItemsToNodes 0.255s
2022-07-12 06:05:59 |

2022-07-12 06:05:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:59 | ------------------------------------

2022-07-12 06:05:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b</node><item-id>item-4ee26c80-501b-494e-b4d6-3fc06650510a</item-id><entry><test>item-4ee26c80-501b-494e-b4d6-3fc06650510a</test></entry></data>

2022-07-12 06:06:00 | 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-4ee26c80-501b-494e-b4d6-3fc06650510a</value></item-id></result>

2022-07-12 06:06:00 | [Mutex] received everything.

2022-07-12 06:06:00 | [Mutex] isItemNotified: published:item:notifieditem-4ee26c80-501b-494e-b4d6-3fc06650510a:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-07-12 06:06:00 |

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

2022-07-12 06:06:00 | ------------------------------------

2022-07-12 06:06:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b</node><item-id>item-4ee26c80-501b-494e-b4d6-3fc06650510a</item-id></data>

2022-07-12 06:06:00 | 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-4ee26c80-501b-494e-b4d6-3fc06650510a</value></item-id></result>

2022-07-12 06:06:00 | [Mutex] received everything.

2022-07-12 06:06:00 | [Mutex] isItemNotified: retracted:item:notifieditem-4ee26c80-501b-494e-b4d6-3fc06650510a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.160s
2022-07-12 06:06:00 |

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

2022-07-12 06:06:00 | ------------------------------------

2022-07-12 06:06:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b</node><item-id>item-4ee26c80-501b-494e-b4d6-3fc06650510a</item-id></data>

2022-07-12 06:06:00 | 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-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b</value></node><item-id type="text-single" label="Item ID"><value>item-4ee26c80-501b-494e-b4d6-3fc06650510a</value></item-id><item type="text-multi" label="Item"><value><item id="item-4ee26c80-501b-494e-b4d6-3fc06650510a"><test>item-4ee26c80-501b-494e-b4d6-3fc06650510a</test></item></value></item></result>

2022-07-12 06:06:00 | [Mutex] notify: [retrieved:item:item-4ee26c80-501b-494e-b4d6-3fc06650510a:payload-matches:true:localhost]

2022-07-12 06:06:00 | [Mutex] received everything.

2022-07-12 06:06:00 | [Mutex] isItemNotified: retrieved:item:item-4ee26c80-501b-494e-b4d6-3fc06650510a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-12 06:06:00 |

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

2022-07-12 06:06:00 | ------------------------------------

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

2022-07-12 06:06:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b</value><value>test</value><value>node-f85e640f-fdc3-41d6-b85b-2120f510981a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.094s
2022-07-12 06:06:00 |

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

2022-07-12 06:06:00 | ------------------------------------

2022-07-12 06:06:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b)</node-pattern></data>

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

subscribeNodes 1.102s
2022-07-12 06:05:58 |

2022-07-12 06:05:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:05:58 | ------------------------------------

2022-07-12 06:05:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.211s
2022-07-12 06:06:00 |

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

2022-07-12 06:06:00 | ------------------------------------

2022-07-12 06:06:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-796565e0-f6f7-4e3e-8089-7f6a8ed0f94b</node><jids><value>admin@test-domain.com</value></jids></data>

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