Generated by TestNG with ReportNG at 22:49 PDT on Tuesday 14 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.519s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2022-06-14 23:03:40 |

2022-06-14 23:03:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:40 | ------------------------------------

2022-06-14 23:03:40 | [Mutex] waiting for: [configured:node:node-97a5c0b1-d1a6-405d-af98-66729f221ba8:node-6cd3f237-890d-409d-92e2-127e369fcf12]

2022-06-14 23:03:40 | [Mutex] received everything.

2022-06-14 23:03:40 | [Mutex] isItemNotified: configured:node:node-97a5c0b1-d1a6-405d-af98-66729f221ba8:node-6cd3f237-890d-409d-92e2-127e369fcf12 :: true

2022-06-14 23:03:41 | [Mutex] waiting for: [received:nodes:b16bab8a-6435-4506-91d2-727efa184874:localhost]

2022-06-14 23:03:41 | [Mutex] received everything.

2022-06-14 23:03:41 | [Mutex] isItemNotified: received:node:b16bab8a-6435-4506-91d2-727efa184874:localhost:node-97a5c0b1-d1a6-405d-af98-66729f221ba8:Node 97a5c0b1-d1a6-405d-af98-66729f221ba8 :: true

2022-06-14 23:03:41 | [Mutex] waiting for: [received:nodes:05fd2b13-6841-4d3b-a355-a4dcb29c675b:localhost]

2022-06-14 23:03:41 | [Mutex] waiting for: [received:nodes:05fd2b13-6841-4d3b-a355-a4dcb29c675b:localhost]

2022-06-14 23:03:41 | [Mutex] received everything.

2022-06-14 23:03:41 | [Mutex] isItemNotified: received:node:05fd2b13-6841-4d3b-a355-a4dcb29c675b:localhost:node-97a5c0b1-d1a6-405d-af98-66729f221ba8:Node 97a5c0b1-d1a6-405d-af98-66729f221ba8 :: false

createNodes 1.539s
2022-06-14 23:03:38 |

2022-06-14 23:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:38 | ------------------------------------

2022-06-14 23:03:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-97a5c0b1-d1a6-405d-af98-66729f221ba8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 97a5c0b1-d1a6-405d-af98-66729f221ba8</title></pubsub></data>

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

2022-06-14 23:03:39 | [Mutex] waiting for: [received:nodes:65f9e9a9-a447-4813-96a0-9ca02a4d5280:localhost]

2022-06-14 23:03:39 | [Mutex] received everything.

2022-06-14 23:03:39 | [Mutex] isItemNotified: received:node:65f9e9a9-a447-4813-96a0-9ca02a4d5280:localhost:node-97a5c0b1-d1a6-405d-af98-66729f221ba8:Node 97a5c0b1-d1a6-405d-af98-66729f221ba8 :: true

createSubnodes 1.021s
2022-06-14 23:03:39 |

2022-06-14 23:03:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:39 | ------------------------------------

2022-06-14 23:03:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6cd3f237-890d-409d-92e2-127e369fcf12</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6cd3f237-890d-409d-92e2-127e369fcf12</title></pubsub></data>

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

2022-06-14 23:03:40 | [Mutex] waiting for: [received:nodes:8d1d24c1-0175-4a43-80a0-f366cf0e4646:localhost]

2022-06-14 23:03:40 | [Mutex] received everything.

2022-06-14 23:03:40 | [Mutex] isItemNotified: received:node:8d1d24c1-0175-4a43-80a0-f366cf0e4646:localhost:node-6cd3f237-890d-409d-92e2-127e369fcf12:Node 6cd3f237-890d-409d-92e2-127e369fcf12 :: true

deleteNodes 1.023s
2022-06-14 23:03:45 |

2022-06-14 23:03:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:45 | ------------------------------------

2022-06-14 23:03:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6cd3f237-890d-409d-92e2-127e369fcf12</node></data>

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

2022-06-14 23:03:46 | [Mutex] waiting for: [received:nodes:de5743d2-d33d-4023-91e9-5d250eb901c8:localhost]

2022-06-14 23:03:46 | [Mutex] waiting for: [received:nodes:de5743d2-d33d-4023-91e9-5d250eb901c8:localhost]

2022-06-14 23:03:46 | [Mutex] received everything.

2022-06-14 23:03:46 | [Mutex] isItemNotified: received:node:de5743d2-d33d-4023-91e9-5d250eb901c8:localhost:node-6cd3f237-890d-409d-92e2-127e369fcf12:Node 6cd3f237-890d-409d-92e2-127e369fcf12 :: false

deleteSubnodes 1.150s
2022-06-14 23:03:44 |

2022-06-14 23:03:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:44 | ------------------------------------

2022-06-14 23:03:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-97a5c0b1-d1a6-405d-af98-66729f221ba8</node></data>

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

2022-06-14 23:03:45 | [Mutex] waiting for: [received:nodes:94ed38fa-8fab-403a-a388-8128c9589aa1:localhost]

2022-06-14 23:03:45 | [Mutex] received everything.

2022-06-14 23:03:45 | [Mutex] isItemNotified: received:node:94ed38fa-8fab-403a-a388-8128c9589aa1:localhost:node-97a5c0b1-d1a6-405d-af98-66729f221ba8:Node 97a5c0b1-d1a6-405d-af98-66729f221ba8 :: false

2022-06-14 23:03:45 | [Mutex] waiting for: [received:nodes:3b98ca2e-df08-452b-9242-34adca43f136:localhost]

2022-06-14 23:03:45 | [Mutex] received everything.

2022-06-14 23:03:45 | [Mutex] isItemNotified: received:node:3b98ca2e-df08-452b-9242-34adca43f136:localhost:node-97a5c0b1-d1a6-405d-af98-66729f221ba8:Node 97a5c0b1-d1a6-405d-af98-66729f221ba8 :: false

publishItemsToNodes 0.236s
2022-06-14 23:03:42 |

2022-06-14 23:03:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:42 | ------------------------------------

2022-06-14 23:03:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-97a5c0b1-d1a6-405d-af98-66729f221ba8</node><item-id>item-376ce6bd-8baa-4629-b7ef-82a3d9d23894</item-id><entry><test>item-376ce6bd-8baa-4629-b7ef-82a3d9d23894</test></entry></data>

2022-06-14 23:03:42 | 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-376ce6bd-8baa-4629-b7ef-82a3d9d23894</value></item-id></result>

2022-06-14 23:03:42 | [Mutex] waiting for: [published:item:notifieditem-376ce6bd-8baa-4629-b7ef-82a3d9d23894:admin@test-domain.com]

2022-06-14 23:03:43 | [Mutex] received everything.

2022-06-14 23:03:43 | [Mutex] isItemNotified: published:item:notifieditem-376ce6bd-8baa-4629-b7ef-82a3d9d23894:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2022-06-14 23:03:43 |

2022-06-14 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:43 | ------------------------------------

2022-06-14 23:03:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-97a5c0b1-d1a6-405d-af98-66729f221ba8</node><item-id>item-376ce6bd-8baa-4629-b7ef-82a3d9d23894</item-id></data>

2022-06-14 23:03:43 | 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-376ce6bd-8baa-4629-b7ef-82a3d9d23894</value></item-id></result>

2022-06-14 23:03:43 | [Mutex] received everything.

2022-06-14 23:03:43 | [Mutex] isItemNotified: retracted:item:notifieditem-376ce6bd-8baa-4629-b7ef-82a3d9d23894:admin@test-domain.com :: true

retrieveItemsFromNodes 0.161s
2022-06-14 23:03:43 |

2022-06-14 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:43 | ------------------------------------

2022-06-14 23:03:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-97a5c0b1-d1a6-405d-af98-66729f221ba8</node><item-id>item-376ce6bd-8baa-4629-b7ef-82a3d9d23894</item-id></data>

2022-06-14 23:03:43 | 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-97a5c0b1-d1a6-405d-af98-66729f221ba8</value></node><item-id type="text-single" label="Item ID"><value>item-376ce6bd-8baa-4629-b7ef-82a3d9d23894</value></item-id><item type="text-multi" label="Item"><value><item id="item-376ce6bd-8baa-4629-b7ef-82a3d9d23894"><test>item-376ce6bd-8baa-4629-b7ef-82a3d9d23894</test></item></value></item></result>

2022-06-14 23:03:43 | [Mutex] notify: [retrieved:item:item-376ce6bd-8baa-4629-b7ef-82a3d9d23894:payload-matches:true:localhost]

2022-06-14 23:03:43 | [Mutex] received everything.

2022-06-14 23:03:43 | [Mutex] isItemNotified: retrieved:item:item-376ce6bd-8baa-4629-b7ef-82a3d9d23894:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-06-14 23:03:43 |

2022-06-14 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:43 | ------------------------------------

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

2022-06-14 23:03:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-97a5c0b1-d1a6-405d-af98-66729f221ba8</value><value>test</value><value>node-6cd3f237-890d-409d-92e2-127e369fcf12</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-14 23:03:43 |

2022-06-14 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:43 | ------------------------------------

2022-06-14 23:03:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-97a5c0b1-d1a6-405d-af98-66729f221ba8)</node-pattern></data>

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

subscribeNodes 1.114s
2022-06-14 23:03:41 |

2022-06-14 23:03:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:41 | ------------------------------------

2022-06-14 23:03:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-97a5c0b1-d1a6-405d-af98-66729f221ba8</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.203s
2022-06-14 23:03:43 |

2022-06-14 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 23:03:43 | ------------------------------------

2022-06-14 23:03:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-97a5c0b1-d1a6-405d-af98-66729f221ba8</node><jids><value>admin@test-domain.com</value></jids></data>

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