Generated by TestNG with ReportNG at 00:45 PDT on Saturday 28 October 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.437s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-10-28 00:59:33 |

2023-10-28 00:59:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:33 | ------------------------------------

2023-10-28 00:59:33 | [Mutex] waiting for: [configured:node:node-3f94502c-3bde-4318-946f-ee8d12cec36a:node-9d997894-8290-437a-94ce-57ee7007c47c]

2023-10-28 00:59:33 | [Mutex] received everything.

2023-10-28 00:59:33 | [Mutex] isItemNotified: configured:node:node-3f94502c-3bde-4318-946f-ee8d12cec36a:node-9d997894-8290-437a-94ce-57ee7007c47c :: true

2023-10-28 00:59:34 | [Mutex] waiting for: [received:nodes:561135b7-0515-4b76-8ebd-030426f5142f:localhost]

2023-10-28 00:59:34 | [Mutex] received everything.

2023-10-28 00:59:34 | [Mutex] isItemNotified: received:node:561135b7-0515-4b76-8ebd-030426f5142f:localhost:node-3f94502c-3bde-4318-946f-ee8d12cec36a:Node 3f94502c-3bde-4318-946f-ee8d12cec36a :: true

2023-10-28 00:59:34 | [Mutex] waiting for: [received:nodes:e3fcd655-2b85-412f-b7f4-cf10b1da66e9:localhost]

2023-10-28 00:59:34 | [Mutex] waiting for: [received:nodes:e3fcd655-2b85-412f-b7f4-cf10b1da66e9:localhost]

2023-10-28 00:59:34 | [Mutex] waiting for: [received:nodes:e3fcd655-2b85-412f-b7f4-cf10b1da66e9:localhost]

2023-10-28 00:59:34 | [Mutex] waiting for: [received:nodes:e3fcd655-2b85-412f-b7f4-cf10b1da66e9:localhost]

2023-10-28 00:59:34 | [Mutex] received everything.

2023-10-28 00:59:34 | [Mutex] isItemNotified: received:node:e3fcd655-2b85-412f-b7f4-cf10b1da66e9:localhost:node-3f94502c-3bde-4318-946f-ee8d12cec36a:Node 3f94502c-3bde-4318-946f-ee8d12cec36a :: false

createNodes 1.494s
2023-10-28 00:59:31 |

2023-10-28 00:59:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:31 | ------------------------------------

2023-10-28 00:59:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3f94502c-3bde-4318-946f-ee8d12cec36a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3f94502c-3bde-4318-946f-ee8d12cec36a</title></pubsub></data>

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

2023-10-28 00:59:32 | [Mutex] waiting for: [received:nodes:44a276bf-1dd0-4287-8381-9041727f9681:localhost]

2023-10-28 00:59:32 | [Mutex] waiting for: [received:nodes:44a276bf-1dd0-4287-8381-9041727f9681:localhost]

2023-10-28 00:59:32 | [Mutex] waiting for: [received:nodes:44a276bf-1dd0-4287-8381-9041727f9681:localhost]

2023-10-28 00:59:32 | [Mutex] waiting for: [received:nodes:44a276bf-1dd0-4287-8381-9041727f9681:localhost]

2023-10-28 00:59:32 | [Mutex] received everything.

2023-10-28 00:59:32 | [Mutex] isItemNotified: received:node:44a276bf-1dd0-4287-8381-9041727f9681:localhost:node-3f94502c-3bde-4318-946f-ee8d12cec36a:Node 3f94502c-3bde-4318-946f-ee8d12cec36a :: true

createSubnodes 1.024s
2023-10-28 00:59:32 |

2023-10-28 00:59:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:32 | ------------------------------------

2023-10-28 00:59:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9d997894-8290-437a-94ce-57ee7007c47c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9d997894-8290-437a-94ce-57ee7007c47c</title></pubsub></data>

2023-10-28 00:59:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-10-28 00:59:33 | [Mutex] waiting for: [received:nodes:6b1beab0-3b72-4c82-bc56-dbcb58d2e54b:localhost]

2023-10-28 00:59:33 | [Mutex] waiting for: [received:nodes:6b1beab0-3b72-4c82-bc56-dbcb58d2e54b:localhost]

2023-10-28 00:59:33 | [Mutex] waiting for: [received:nodes:6b1beab0-3b72-4c82-bc56-dbcb58d2e54b:localhost]

2023-10-28 00:59:33 | [Mutex] waiting for: [received:nodes:6b1beab0-3b72-4c82-bc56-dbcb58d2e54b:localhost]

2023-10-28 00:59:33 | [Mutex] received everything.

2023-10-28 00:59:33 | [Mutex] isItemNotified: received:node:6b1beab0-3b72-4c82-bc56-dbcb58d2e54b:localhost:node-9d997894-8290-437a-94ce-57ee7007c47c:Node 9d997894-8290-437a-94ce-57ee7007c47c :: true

deleteNodes 1.017s
2023-10-28 00:59:38 |

2023-10-28 00:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:38 | ------------------------------------

2023-10-28 00:59:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9d997894-8290-437a-94ce-57ee7007c47c</node></data>

2023-10-28 00:59:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-10-28 00:59:39 | [Mutex] waiting for: [received:nodes:5cdfdc3c-828d-4fee-9063-915df08f08c2:localhost]

2023-10-28 00:59:39 | [Mutex] waiting for: [received:nodes:5cdfdc3c-828d-4fee-9063-915df08f08c2:localhost]

2023-10-28 00:59:39 | [Mutex] waiting for: [received:nodes:5cdfdc3c-828d-4fee-9063-915df08f08c2:localhost]

2023-10-28 00:59:39 | [Mutex] received everything.

2023-10-28 00:59:39 | [Mutex] isItemNotified: received:node:5cdfdc3c-828d-4fee-9063-915df08f08c2:localhost:node-9d997894-8290-437a-94ce-57ee7007c47c:Node 9d997894-8290-437a-94ce-57ee7007c47c :: false

deleteSubnodes 1.102s
2023-10-28 00:59:37 |

2023-10-28 00:59:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:37 | ------------------------------------

2023-10-28 00:59:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3f94502c-3bde-4318-946f-ee8d12cec36a</node></data>

2023-10-28 00:59:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-10-28 00:59:38 | [Mutex] waiting for: [received:nodes:3accfe2e-a54a-4caf-b4ba-3b317941c50b:localhost]

2023-10-28 00:59:38 | [Mutex] waiting for: [received:nodes:3accfe2e-a54a-4caf-b4ba-3b317941c50b:localhost]

2023-10-28 00:59:38 | [Mutex] waiting for: [received:nodes:3accfe2e-a54a-4caf-b4ba-3b317941c50b:localhost]

2023-10-28 00:59:38 | [Mutex] waiting for: [received:nodes:3accfe2e-a54a-4caf-b4ba-3b317941c50b:localhost]

2023-10-28 00:59:38 | [Mutex] received everything.

2023-10-28 00:59:38 | [Mutex] isItemNotified: received:node:3accfe2e-a54a-4caf-b4ba-3b317941c50b:localhost:node-3f94502c-3bde-4318-946f-ee8d12cec36a:Node 3f94502c-3bde-4318-946f-ee8d12cec36a :: false

2023-10-28 00:59:38 | [Mutex] waiting for: [received:nodes:a4387774-307f-4db0-b10d-0ac873d3d68f:localhost]

2023-10-28 00:59:38 | [Mutex] received everything.

2023-10-28 00:59:38 | [Mutex] isItemNotified: received:node:a4387774-307f-4db0-b10d-0ac873d3d68f:localhost:node-3f94502c-3bde-4318-946f-ee8d12cec36a:Node 3f94502c-3bde-4318-946f-ee8d12cec36a :: false

publishItemsToNodes 0.185s
2023-10-28 00:59:35 |

2023-10-28 00:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:35 | ------------------------------------

2023-10-28 00:59:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3f94502c-3bde-4318-946f-ee8d12cec36a</node><item-id>item-ff794482-7d3a-4ce2-aa0a-222d48ccef13</item-id><entry><test>item-ff794482-7d3a-4ce2-aa0a-222d48ccef13</test></entry></data>

2023-10-28 00:59:36 | 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-ff794482-7d3a-4ce2-aa0a-222d48ccef13</value></item-id></result>

2023-10-28 00:59:36 | [Mutex] received everything.

2023-10-28 00:59:36 | [Mutex] isItemNotified: published:item:notifieditem-ff794482-7d3a-4ce2-aa0a-222d48ccef13:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2023-10-28 00:59:36 |

2023-10-28 00:59:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:36 | ------------------------------------

2023-10-28 00:59:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3f94502c-3bde-4318-946f-ee8d12cec36a</node><item-id>item-ff794482-7d3a-4ce2-aa0a-222d48ccef13</item-id></data>

2023-10-28 00:59:36 | 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-ff794482-7d3a-4ce2-aa0a-222d48ccef13</value></item-id></result>

2023-10-28 00:59:36 | [Mutex] received everything.

2023-10-28 00:59:36 | [Mutex] isItemNotified: retracted:item:notifieditem-ff794482-7d3a-4ce2-aa0a-222d48ccef13:admin@test-domain.com :: true

retrieveItemsFromNodes 0.241s
2023-10-28 00:59:36 |

2023-10-28 00:59:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:36 | ------------------------------------

2023-10-28 00:59:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3f94502c-3bde-4318-946f-ee8d12cec36a</node><item-id>item-ff794482-7d3a-4ce2-aa0a-222d48ccef13</item-id></data>

2023-10-28 00:59:36 | 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-3f94502c-3bde-4318-946f-ee8d12cec36a</value></node><item-id type="text-single" label="Item ID"><value>item-ff794482-7d3a-4ce2-aa0a-222d48ccef13</value></item-id><item type="text-multi" label="Item"><value><item id="item-ff794482-7d3a-4ce2-aa0a-222d48ccef13"><test>item-ff794482-7d3a-4ce2-aa0a-222d48ccef13</test></item></value></item></result>

2023-10-28 00:59:36 | [Mutex] notify: [retrieved:item:item-ff794482-7d3a-4ce2-aa0a-222d48ccef13:payload-matches:true:localhost]

2023-10-28 00:59:36 | [Mutex] received everything.

2023-10-28 00:59:36 | [Mutex] isItemNotified: retrieved:item:item-ff794482-7d3a-4ce2-aa0a-222d48ccef13:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-10-28 00:59:36 |

2023-10-28 00:59:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:36 | ------------------------------------

2023-10-28 00:59:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-10-28 00:59:36 | 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-3f94502c-3bde-4318-946f-ee8d12cec36a</value><value>node-9d997894-8290-437a-94ce-57ee7007c47c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-10-28 00:59:36 |

2023-10-28 00:59:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:36 | ------------------------------------

2023-10-28 00:59:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3f94502c-3bde-4318-946f-ee8d12cec36a)</node-pattern></data>

2023-10-28 00:59:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.136s
2023-10-28 00:59:34 |

2023-10-28 00:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:34 | ------------------------------------

2023-10-28 00:59:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3f94502c-3bde-4318-946f-ee8d12cec36a</node><jids><value>admin@test-domain.com</value></jids></data>

2023-10-28 00:59:34 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.151s
2023-10-28 00:59:36 |

2023-10-28 00:59:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:59:36 | ------------------------------------

2023-10-28 00:59:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3f94502c-3bde-4318-946f-ee8d12cec36a</node><jids><value>admin@test-domain.com</value></jids></data>

2023-10-28 00:59:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>