Generated by TestNG with ReportNG at 22:56 PDT on Wednesday 07 September 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.429s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.130s
2022-09-07 23:10:57 |

2022-09-07 23:10:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:10:57 | ------------------------------------

2022-09-07 23:10:57 | [Mutex] waiting for: [configured:node:node-6f21ce19-c088-48d9-9212-2b35817aced9:node-a02bf0b2-e593-4a98-81c4-7e1200579129]

2022-09-07 23:10:57 | [Mutex] received everything.

2022-09-07 23:10:57 | [Mutex] isItemNotified: configured:node:node-6f21ce19-c088-48d9-9212-2b35817aced9:node-a02bf0b2-e593-4a98-81c4-7e1200579129 :: true

2022-09-07 23:10:58 | [Mutex] waiting for: [received:nodes:9b5b9904-0b6b-45a7-98a9-ab4e917a0a67:localhost]

2022-09-07 23:10:58 | [Mutex] received everything.

2022-09-07 23:10:58 | [Mutex] isItemNotified: received:node:9b5b9904-0b6b-45a7-98a9-ab4e917a0a67:localhost:node-6f21ce19-c088-48d9-9212-2b35817aced9:Node 6f21ce19-c088-48d9-9212-2b35817aced9 :: true

2022-09-07 23:10:58 | [Mutex] waiting for: [received:nodes:96c8a5af-6440-4133-9931-37d727c239c8:localhost]

2022-09-07 23:10:58 | [Mutex] received everything.

2022-09-07 23:10:58 | [Mutex] isItemNotified: received:node:96c8a5af-6440-4133-9931-37d727c239c8:localhost:node-6f21ce19-c088-48d9-9212-2b35817aced9:Node 6f21ce19-c088-48d9-9212-2b35817aced9 :: false

createNodes 1.352s
2022-09-07 23:10:55 |

2022-09-07 23:10:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:10:55 | ------------------------------------

2022-09-07 23:10:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6f21ce19-c088-48d9-9212-2b35817aced9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6f21ce19-c088-48d9-9212-2b35817aced9</title></pubsub></data>

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

2022-09-07 23:10:56 | [Mutex] waiting for: [received:nodes:2efe1493-2c64-48c2-bca6-d19d08f763b8:localhost]

2022-09-07 23:10:56 | [Mutex] received everything.

2022-09-07 23:10:56 | [Mutex] isItemNotified: received:node:2efe1493-2c64-48c2-bca6-d19d08f763b8:localhost:node-6f21ce19-c088-48d9-9212-2b35817aced9:Node 6f21ce19-c088-48d9-9212-2b35817aced9 :: true

createSubnodes 1.024s
2022-09-07 23:10:56 |

2022-09-07 23:10:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:10:56 | ------------------------------------

2022-09-07 23:10:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a02bf0b2-e593-4a98-81c4-7e1200579129</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a02bf0b2-e593-4a98-81c4-7e1200579129</title></pubsub></data>

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

2022-09-07 23:10:57 | [Mutex] waiting for: [received:nodes:1e4cee11-0b82-4679-b4e7-4a6ee25f070f:localhost]

2022-09-07 23:10:57 | [Mutex] received everything.

2022-09-07 23:10:57 | [Mutex] isItemNotified: received:node:1e4cee11-0b82-4679-b4e7-4a6ee25f070f:localhost:node-a02bf0b2-e593-4a98-81c4-7e1200579129:Node a02bf0b2-e593-4a98-81c4-7e1200579129 :: true

deleteNodes 1.017s
2022-09-07 23:11:02 |

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

2022-09-07 23:11:02 | ------------------------------------

2022-09-07 23:11:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a02bf0b2-e593-4a98-81c4-7e1200579129</node></data>

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

2022-09-07 23:11:03 | [Mutex] waiting for: [received:nodes:1098ccfd-1212-41b6-bc29-e7cf04161943:localhost]

2022-09-07 23:11:03 | [Mutex] received everything.

2022-09-07 23:11:03 | [Mutex] isItemNotified: received:node:1098ccfd-1212-41b6-bc29-e7cf04161943:localhost:node-a02bf0b2-e593-4a98-81c4-7e1200579129:Node a02bf0b2-e593-4a98-81c4-7e1200579129 :: false

deleteSubnodes 1.106s
2022-09-07 23:11:01 |

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

2022-09-07 23:11:01 | ------------------------------------

2022-09-07 23:11:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6f21ce19-c088-48d9-9212-2b35817aced9</node></data>

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

2022-09-07 23:11:02 | [Mutex] waiting for: [received:nodes:3438d7e5-2448-4d61-b31f-f01409651bcd:localhost]

2022-09-07 23:11:02 | [Mutex] received everything.

2022-09-07 23:11:02 | [Mutex] isItemNotified: received:node:3438d7e5-2448-4d61-b31f-f01409651bcd:localhost:node-6f21ce19-c088-48d9-9212-2b35817aced9:Node 6f21ce19-c088-48d9-9212-2b35817aced9 :: false

2022-09-07 23:11:02 | [Mutex] waiting for: [received:nodes:1f1e6462-9dc0-4fb4-8139-aa3599c0a3ee:localhost]

2022-09-07 23:11:02 | [Mutex] received everything.

2022-09-07 23:11:02 | [Mutex] isItemNotified: received:node:1f1e6462-9dc0-4fb4-8139-aa3599c0a3ee:localhost:node-6f21ce19-c088-48d9-9212-2b35817aced9:Node 6f21ce19-c088-48d9-9212-2b35817aced9 :: false

publishItemsToNodes 0.234s
2022-09-07 23:10:59 |

2022-09-07 23:10:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:10:59 | ------------------------------------

2022-09-07 23:10:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6f21ce19-c088-48d9-9212-2b35817aced9</node><item-id>item-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21</item-id><entry><test>item-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21</test></entry></data>

2022-09-07 23:10: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-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21</value></item-id></result>

2022-09-07 23:10:59 | [Mutex] waiting for: [published:item:notifieditem-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21:admin@test-domain.com]

2022-09-07 23:10:59 | [Mutex] received everything.

2022-09-07 23:10:59 | [Mutex] isItemNotified: published:item:notifieditem-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-09-07 23:11:00 |

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

2022-09-07 23:11:00 | ------------------------------------

2022-09-07 23:11:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6f21ce19-c088-48d9-9212-2b35817aced9</node><item-id>item-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21</item-id></data>

2022-09-07 23:11: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-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21</value></item-id></result>

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

2022-09-07 23:11:00 | [Mutex] isItemNotified: retracted:item:notifieditem-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21:admin@test-domain.com :: true

retrieveItemsFromNodes 0.250s
2022-09-07 23:10:59 |

2022-09-07 23:10:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:10:59 | ------------------------------------

2022-09-07 23:10:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6f21ce19-c088-48d9-9212-2b35817aced9</node><item-id>item-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21</item-id></data>

2022-09-07 23:11: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-6f21ce19-c088-48d9-9212-2b35817aced9</value></node><item-id type="text-single" label="Item ID"><value>item-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21</value></item-id><item type="text-multi" label="Item"><value><item id="item-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21"><test>item-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21</test></item></value></item></result>

2022-09-07 23:11:00 | [Mutex] notify: [retrieved:item:item-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21:payload-matches:true:localhost]

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

2022-09-07 23:11:00 | [Mutex] isItemNotified: retrieved:item:item-acfbd567-a7e3-433e-b0fc-e1fa7a3dda21:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-09-07 23:11:00 |

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

2022-09-07 23:11:00 | ------------------------------------

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

2022-09-07 23:11:00 | 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-a02bf0b2-e593-4a98-81c4-7e1200579129</value><value>node-6f21ce19-c088-48d9-9212-2b35817aced9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-09-07 23:11:00 |

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

2022-09-07 23:11:00 | ------------------------------------

2022-09-07 23:11: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-6f21ce19-c088-48d9-9212-2b35817aced9)</node-pattern></data>

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

subscribeNodes 1.109s
2022-09-07 23:10:58 |

2022-09-07 23:10:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:10:58 | ------------------------------------

2022-09-07 23:10:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6f21ce19-c088-48d9-9212-2b35817aced9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-07 23:10: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.262s
2022-09-07 23:11:00 |

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

2022-09-07 23:11:00 | ------------------------------------

2022-09-07 23:11:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6f21ce19-c088-48d9-9212-2b35817aced9</node><jids><value>admin@test-domain.com</value></jids></data>

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