Generated by TestNG with ReportNG at 22:46 PDT on Monday 31 July 2023
root@7962bf290299 / Java 17.0.7 (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.250s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2023-07-31 23:00:39 |

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

2023-07-31 23:00:39 | ------------------------------------

2023-07-31 23:00:39 | [Mutex] waiting for: [configured:node:node-562466bf-d0f0-4237-8220-301c32f28a67:node-c3f33d7b-3f9c-4a9b-aeec-607dff6a78b0]

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

2023-07-31 23:00:39 | [Mutex] isItemNotified: configured:node:node-562466bf-d0f0-4237-8220-301c32f28a67:node-c3f33d7b-3f9c-4a9b-aeec-607dff6a78b0 :: true

2023-07-31 23:00:40 | [Mutex] waiting for: [received:nodes:135de3ff-2cb9-4071-a417-d0edacbc726e:localhost]

2023-07-31 23:00:40 | [Mutex] received everything.

2023-07-31 23:00:40 | [Mutex] isItemNotified: received:node:135de3ff-2cb9-4071-a417-d0edacbc726e:localhost:node-562466bf-d0f0-4237-8220-301c32f28a67:Node 562466bf-d0f0-4237-8220-301c32f28a67 :: true

2023-07-31 23:00:40 | [Mutex] waiting for: [received:nodes:2f6b2490-877a-4c0d-906c-f20a5ff61c5f:localhost]

2023-07-31 23:00:40 | [Mutex] waiting for: [received:nodes:2f6b2490-877a-4c0d-906c-f20a5ff61c5f:localhost]

2023-07-31 23:00:40 | [Mutex] waiting for: [received:nodes:2f6b2490-877a-4c0d-906c-f20a5ff61c5f:localhost]

2023-07-31 23:00:40 | [Mutex] received everything.

2023-07-31 23:00:40 | [Mutex] isItemNotified: received:node:2f6b2490-877a-4c0d-906c-f20a5ff61c5f:localhost:node-562466bf-d0f0-4237-8220-301c32f28a67:Node 562466bf-d0f0-4237-8220-301c32f28a67 :: false

createNodes 1.364s
2023-07-31 23:00:36 |

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

2023-07-31 23:00:36 | ------------------------------------

2023-07-31 23:00:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-562466bf-d0f0-4237-8220-301c32f28a67</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 562466bf-d0f0-4237-8220-301c32f28a67</title></pubsub></data>

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

2023-07-31 23:00:38 | [Mutex] waiting for: [received:nodes:14ce55e8-5971-48a5-b997-b4d66e818f07:localhost]

2023-07-31 23:00:38 | [Mutex] waiting for: [received:nodes:14ce55e8-5971-48a5-b997-b4d66e818f07:localhost]

2023-07-31 23:00:38 | [Mutex] waiting for: [received:nodes:14ce55e8-5971-48a5-b997-b4d66e818f07:localhost]

2023-07-31 23:00:38 | [Mutex] waiting for: [received:nodes:14ce55e8-5971-48a5-b997-b4d66e818f07:localhost]

2023-07-31 23:00:38 | [Mutex] received everything.

2023-07-31 23:00:38 | [Mutex] isItemNotified: received:node:14ce55e8-5971-48a5-b997-b4d66e818f07:localhost:node-562466bf-d0f0-4237-8220-301c32f28a67:Node 562466bf-d0f0-4237-8220-301c32f28a67 :: true

createSubnodes 1.025s
2023-07-31 23:00:38 |

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

2023-07-31 23:00:38 | ------------------------------------

2023-07-31 23:00:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c3f33d7b-3f9c-4a9b-aeec-607dff6a78b0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c3f33d7b-3f9c-4a9b-aeec-607dff6a78b0</title></pubsub></data>

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

2023-07-31 23:00:39 | [Mutex] waiting for: [received:nodes:8c0edfb9-bebe-4e3e-af03-ee7029feb393:localhost]

2023-07-31 23:00:39 | [Mutex] waiting for: [received:nodes:8c0edfb9-bebe-4e3e-af03-ee7029feb393:localhost]

2023-07-31 23:00:39 | [Mutex] waiting for: [received:nodes:8c0edfb9-bebe-4e3e-af03-ee7029feb393:localhost]

2023-07-31 23:00:39 | [Mutex] waiting for: [received:nodes:8c0edfb9-bebe-4e3e-af03-ee7029feb393:localhost]

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

2023-07-31 23:00:39 | [Mutex] isItemNotified: received:node:8c0edfb9-bebe-4e3e-af03-ee7029feb393:localhost:node-c3f33d7b-3f9c-4a9b-aeec-607dff6a78b0:Node c3f33d7b-3f9c-4a9b-aeec-607dff6a78b0 :: true

deleteNodes 1.016s
2023-07-31 23:00:44 |

2023-07-31 23:00:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:00:44 | ------------------------------------

2023-07-31 23:00:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c3f33d7b-3f9c-4a9b-aeec-607dff6a78b0</node></data>

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

2023-07-31 23:00:45 | [Mutex] waiting for: [received:nodes:d7fb0400-54a7-48d3-921f-5d5aaf7812d6:localhost]

2023-07-31 23:00:45 | [Mutex] waiting for: [received:nodes:d7fb0400-54a7-48d3-921f-5d5aaf7812d6:localhost]

2023-07-31 23:00:45 | [Mutex] waiting for: [received:nodes:d7fb0400-54a7-48d3-921f-5d5aaf7812d6:localhost]

2023-07-31 23:00:45 | [Mutex] received everything.

2023-07-31 23:00:45 | [Mutex] isItemNotified: received:node:d7fb0400-54a7-48d3-921f-5d5aaf7812d6:localhost:node-c3f33d7b-3f9c-4a9b-aeec-607dff6a78b0:Node c3f33d7b-3f9c-4a9b-aeec-607dff6a78b0 :: false

deleteSubnodes 1.100s
2023-07-31 23:00:43 |

2023-07-31 23:00:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:00:43 | ------------------------------------

2023-07-31 23:00:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-562466bf-d0f0-4237-8220-301c32f28a67</node></data>

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

2023-07-31 23:00:44 | [Mutex] waiting for: [received:nodes:019c093c-3c0b-4729-ae18-c8a83c3d0fc6:localhost]

2023-07-31 23:00:44 | [Mutex] waiting for: [received:nodes:019c093c-3c0b-4729-ae18-c8a83c3d0fc6:localhost]

2023-07-31 23:00:44 | [Mutex] waiting for: [received:nodes:019c093c-3c0b-4729-ae18-c8a83c3d0fc6:localhost]

2023-07-31 23:00:44 | [Mutex] waiting for: [received:nodes:019c093c-3c0b-4729-ae18-c8a83c3d0fc6:localhost]

2023-07-31 23:00:44 | [Mutex] received everything.

2023-07-31 23:00:44 | [Mutex] isItemNotified: received:node:019c093c-3c0b-4729-ae18-c8a83c3d0fc6:localhost:node-562466bf-d0f0-4237-8220-301c32f28a67:Node 562466bf-d0f0-4237-8220-301c32f28a67 :: false

2023-07-31 23:00:44 | [Mutex] waiting for: [received:nodes:15660fbd-1069-40f7-98cd-8a006d720cfc:localhost]

2023-07-31 23:00:44 | [Mutex] received everything.

2023-07-31 23:00:44 | [Mutex] isItemNotified: received:node:15660fbd-1069-40f7-98cd-8a006d720cfc:localhost:node-562466bf-d0f0-4237-8220-301c32f28a67:Node 562466bf-d0f0-4237-8220-301c32f28a67 :: false

publishItemsToNodes 0.255s
2023-07-31 23:00:41 |

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

2023-07-31 23:00:41 | ------------------------------------

2023-07-31 23:00:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-562466bf-d0f0-4237-8220-301c32f28a67</node><item-id>item-b34e0236-c289-4900-a4fc-57af0c8ed580</item-id><entry><test>item-b34e0236-c289-4900-a4fc-57af0c8ed580</test></entry></data>

2023-07-31 23:00:41 | 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-b34e0236-c289-4900-a4fc-57af0c8ed580</value></item-id></result>

2023-07-31 23:00:41 | [Mutex] waiting for: [published:item:notifieditem-b34e0236-c289-4900-a4fc-57af0c8ed580:admin@test-domain.com]

2023-07-31 23:00:41 | [Mutex] received everything.

2023-07-31 23:00:41 | [Mutex] isItemNotified: published:item:notifieditem-b34e0236-c289-4900-a4fc-57af0c8ed580:admin@test-domain.com :: true

retractItemsFromNodes 0.239s
2023-07-31 23:00:42 |

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

2023-07-31 23:00:42 | ------------------------------------

2023-07-31 23:00:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-562466bf-d0f0-4237-8220-301c32f28a67</node><item-id>item-b34e0236-c289-4900-a4fc-57af0c8ed580</item-id></data>

2023-07-31 23:00:42 | 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-b34e0236-c289-4900-a4fc-57af0c8ed580</value></item-id></result>

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

2023-07-31 23:00:42 | [Mutex] isItemNotified: retracted:item:notifieditem-b34e0236-c289-4900-a4fc-57af0c8ed580:admin@test-domain.com :: true

retrieveItemsFromNodes 0.194s
2023-07-31 23:00:41 |

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

2023-07-31 23:00:41 | ------------------------------------

2023-07-31 23:00:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-562466bf-d0f0-4237-8220-301c32f28a67</node><item-id>item-b34e0236-c289-4900-a4fc-57af0c8ed580</item-id></data>

2023-07-31 23:00:41 | 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-562466bf-d0f0-4237-8220-301c32f28a67</value></node><item-id type="text-single" label="Item ID"><value>item-b34e0236-c289-4900-a4fc-57af0c8ed580</value></item-id><item type="text-multi" label="Item"><value><item id="item-b34e0236-c289-4900-a4fc-57af0c8ed580"><test>item-b34e0236-c289-4900-a4fc-57af0c8ed580</test></item></value></item></result>

2023-07-31 23:00:41 | [Mutex] notify: [retrieved:item:item-b34e0236-c289-4900-a4fc-57af0c8ed580:payload-matches:true:localhost]

2023-07-31 23:00:41 | [Mutex] received everything.

2023-07-31 23:00:41 | [Mutex] isItemNotified: retrieved:item:item-b34e0236-c289-4900-a4fc-57af0c8ed580:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2023-07-31 23:00:41 |

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

2023-07-31 23:00:41 | ------------------------------------

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

2023-07-31 23:00:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-562466bf-d0f0-4237-8220-301c32f28a67</value><value>test</value><value>node-c3f33d7b-3f9c-4a9b-aeec-607dff6a78b0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-31 23:00:41 |

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

2023-07-31 23:00:41 | ------------------------------------

2023-07-31 23:00:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-562466bf-d0f0-4237-8220-301c32f28a67)</node-pattern></data>

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

subscribeNodes 1.103s
2023-07-31 23:00:40 |

2023-07-31 23:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:00:40 | ------------------------------------

2023-07-31 23:00:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-562466bf-d0f0-4237-8220-301c32f28a67</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.147s
2023-07-31 23:00:42 |

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

2023-07-31 23:00:42 | ------------------------------------

2023-07-31 23:00:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-562466bf-d0f0-4237-8220-301c32f28a67</node><jids><value>admin@test-domain.com</value></jids></data>

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