Generated by TestNG with ReportNG at 22:31 PDT on Monday 11 July 2022
root@7c41cec37518 / 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.525s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-07-11 22:45:56 |

2022-07-11 22:45:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:45:56 | ------------------------------------

2022-07-11 22:45:56 | [Mutex] waiting for: [configured:node:node-ee47bb44-a4f3-4548-b3d5-62d28b24513f:node-6161da78-07da-465f-ac7f-879f8bb061ee]

2022-07-11 22:45:57 | [Mutex] received everything.

2022-07-11 22:45:57 | [Mutex] isItemNotified: configured:node:node-ee47bb44-a4f3-4548-b3d5-62d28b24513f:node-6161da78-07da-465f-ac7f-879f8bb061ee :: true

2022-07-11 22:45:58 | [Mutex] waiting for: [received:nodes:af67dc9e-8336-4821-9ffd-392f8ea3b07c:localhost]

2022-07-11 22:45:58 | [Mutex] received everything.

2022-07-11 22:45:58 | [Mutex] isItemNotified: received:node:af67dc9e-8336-4821-9ffd-392f8ea3b07c:localhost:node-ee47bb44-a4f3-4548-b3d5-62d28b24513f:Node ee47bb44-a4f3-4548-b3d5-62d28b24513f :: true

2022-07-11 22:45:58 | [Mutex] waiting for: [received:nodes:348639d9-2352-4622-b7ad-5bc605e1182a:localhost]

2022-07-11 22:45:58 | [Mutex] waiting for: [received:nodes:348639d9-2352-4622-b7ad-5bc605e1182a:localhost]

2022-07-11 22:45:58 | [Mutex] received everything.

2022-07-11 22:45:58 | [Mutex] isItemNotified: received:node:348639d9-2352-4622-b7ad-5bc605e1182a:localhost:node-ee47bb44-a4f3-4548-b3d5-62d28b24513f:Node ee47bb44-a4f3-4548-b3d5-62d28b24513f :: false

createNodes 1.389s
2022-07-11 22:45:54 |

2022-07-11 22:45:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:45:54 | ------------------------------------

2022-07-11 22:45:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ee47bb44-a4f3-4548-b3d5-62d28b24513f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ee47bb44-a4f3-4548-b3d5-62d28b24513f</title></pubsub></data>

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

2022-07-11 22:45:55 | [Mutex] waiting for: [received:nodes:d9e01782-b0e0-4f57-acde-c84892c85c2e:localhost]

2022-07-11 22:45:55 | [Mutex] waiting for: [received:nodes:d9e01782-b0e0-4f57-acde-c84892c85c2e:localhost]

2022-07-11 22:45:55 | [Mutex] received everything.

2022-07-11 22:45:55 | [Mutex] isItemNotified: received:node:d9e01782-b0e0-4f57-acde-c84892c85c2e:localhost:node-ee47bb44-a4f3-4548-b3d5-62d28b24513f:Node ee47bb44-a4f3-4548-b3d5-62d28b24513f :: true

createSubnodes 1.032s
2022-07-11 22:45:55 |

2022-07-11 22:45:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:45:55 | ------------------------------------

2022-07-11 22:45:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6161da78-07da-465f-ac7f-879f8bb061ee</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6161da78-07da-465f-ac7f-879f8bb061ee</title></pubsub></data>

2022-07-11 22:45: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-11 22:45:56 | [Mutex] waiting for: [received:nodes:8e619041-b793-4fcb-9259-324a133bb6c7:localhost]

2022-07-11 22:45:56 | [Mutex] waiting for: [received:nodes:8e619041-b793-4fcb-9259-324a133bb6c7:localhost]

2022-07-11 22:45:56 | [Mutex] received everything.

2022-07-11 22:45:56 | [Mutex] isItemNotified: received:node:8e619041-b793-4fcb-9259-324a133bb6c7:localhost:node-6161da78-07da-465f-ac7f-879f8bb061ee:Node 6161da78-07da-465f-ac7f-879f8bb061ee :: true

deleteNodes 1.023s
2022-07-11 22:46:02 |

2022-07-11 22:46:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:46:02 | ------------------------------------

2022-07-11 22:46:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6161da78-07da-465f-ac7f-879f8bb061ee</node></data>

2022-07-11 22:46: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-11 22:46:03 | [Mutex] waiting for: [received:nodes:437ad444-185a-4c27-89cb-1f2413ee76d0:localhost]

2022-07-11 22:46:03 | [Mutex] received everything.

2022-07-11 22:46:03 | [Mutex] isItemNotified: received:node:437ad444-185a-4c27-89cb-1f2413ee76d0:localhost:node-6161da78-07da-465f-ac7f-879f8bb061ee:Node 6161da78-07da-465f-ac7f-879f8bb061ee :: false

deleteSubnodes 1.140s
2022-07-11 22:46:01 |

2022-07-11 22:46:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:46:01 | ------------------------------------

2022-07-11 22:46:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ee47bb44-a4f3-4548-b3d5-62d28b24513f</node></data>

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

2022-07-11 22:46:02 | [Mutex] waiting for: [received:nodes:1d2737be-8142-45db-bde4-937cfa344bb4:localhost]

2022-07-11 22:46:02 | [Mutex] waiting for: [received:nodes:1d2737be-8142-45db-bde4-937cfa344bb4:localhost]

2022-07-11 22:46:02 | [Mutex] received everything.

2022-07-11 22:46:02 | [Mutex] isItemNotified: received:node:1d2737be-8142-45db-bde4-937cfa344bb4:localhost:node-ee47bb44-a4f3-4548-b3d5-62d28b24513f:Node ee47bb44-a4f3-4548-b3d5-62d28b24513f :: false

2022-07-11 22:46:02 | [Mutex] waiting for: [received:nodes:13588b72-083a-42fe-9674-9e0d4c3801d0:localhost]

2022-07-11 22:46:02 | [Mutex] received everything.

2022-07-11 22:46:02 | [Mutex] isItemNotified: received:node:13588b72-083a-42fe-9674-9e0d4c3801d0:localhost:node-ee47bb44-a4f3-4548-b3d5-62d28b24513f:Node ee47bb44-a4f3-4548-b3d5-62d28b24513f :: false

publishItemsToNodes 0.203s
2022-07-11 22:45:59 |

2022-07-11 22:45:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:45:59 | ------------------------------------

2022-07-11 22:45:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ee47bb44-a4f3-4548-b3d5-62d28b24513f</node><item-id>item-b44c5ebe-c497-497d-be49-da9c26cff91c</item-id><entry><test>item-b44c5ebe-c497-497d-be49-da9c26cff91c</test></entry></data>

2022-07-11 22:45:59 | 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-b44c5ebe-c497-497d-be49-da9c26cff91c</value></item-id></result>

2022-07-11 22:45:59 | [Mutex] received everything.

2022-07-11 22:45:59 | [Mutex] isItemNotified: published:item:notifieditem-b44c5ebe-c497-497d-be49-da9c26cff91c:admin@test-domain.com :: true

retractItemsFromNodes 0.318s
2022-07-11 22:45:59 |

2022-07-11 22:45:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:45:59 | ------------------------------------

2022-07-11 22:45:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ee47bb44-a4f3-4548-b3d5-62d28b24513f</node><item-id>item-b44c5ebe-c497-497d-be49-da9c26cff91c</item-id></data>

2022-07-11 22:45:59 | 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-b44c5ebe-c497-497d-be49-da9c26cff91c</value></item-id></result>

2022-07-11 22:45:59 | [Mutex] waiting for: [retracted:item:notifieditem-b44c5ebe-c497-497d-be49-da9c26cff91c:admin@test-domain.com]

2022-07-11 22:46:00 | [Mutex] received everything.

2022-07-11 22:46:00 | [Mutex] isItemNotified: retracted:item:notifieditem-b44c5ebe-c497-497d-be49-da9c26cff91c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.183s
2022-07-11 22:45:59 |

2022-07-11 22:45:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:45:59 | ------------------------------------

2022-07-11 22:45:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ee47bb44-a4f3-4548-b3d5-62d28b24513f</node><item-id>item-b44c5ebe-c497-497d-be49-da9c26cff91c</item-id></data>

2022-07-11 22:45:59 | 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-ee47bb44-a4f3-4548-b3d5-62d28b24513f</value></node><item-id type="text-single" label="Item ID"><value>item-b44c5ebe-c497-497d-be49-da9c26cff91c</value></item-id><item type="text-multi" label="Item"><value><item id="item-b44c5ebe-c497-497d-be49-da9c26cff91c"><test>item-b44c5ebe-c497-497d-be49-da9c26cff91c</test></item></value></item></result>

2022-07-11 22:45:59 | [Mutex] notify: [retrieved:item:item-b44c5ebe-c497-497d-be49-da9c26cff91c:payload-matches:true:localhost]

2022-07-11 22:45:59 | [Mutex] received everything.

2022-07-11 22:45:59 | [Mutex] isItemNotified: retrieved:item:item-b44c5ebe-c497-497d-be49-da9c26cff91c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-11 22:45:59 |

2022-07-11 22:45:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:45:59 | ------------------------------------

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

2022-07-11 22:45:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-ee47bb44-a4f3-4548-b3d5-62d28b24513f</value><value>test</value><value>node-6161da78-07da-465f-ac7f-879f8bb061ee</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-11 22:45:59 |

2022-07-11 22:45:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:45:59 | ------------------------------------

2022-07-11 22:45:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ee47bb44-a4f3-4548-b3d5-62d28b24513f)</node-pattern></data>

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

subscribeNodes 1.176s
2022-07-11 22:45:58 |

2022-07-11 22:45:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:45:58 | ------------------------------------

2022-07-11 22:45:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ee47bb44-a4f3-4548-b3d5-62d28b24513f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-11 22:45: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.191s
2022-07-11 22:46:00 |

2022-07-11 22:46:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-11 22:46:00 | ------------------------------------

2022-07-11 22:46:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ee47bb44-a4f3-4548-b3d5-62d28b24513f</node><jids><value>admin@test-domain.com</value></jids></data>

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