Generated by TestNG with ReportNG at 22:16 PDT on Thursday 06 July 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.551s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.084s
2023-07-06 22:30:50 |

2023-07-06 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:50 | ------------------------------------

2023-07-06 22:30:50 | [Mutex] waiting for: [configured:node:node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b:node-4469c70f-2206-4846-b4b6-5cac5e2b5e46]

2023-07-06 22:30:50 | [Mutex] received everything.

2023-07-06 22:30:50 | [Mutex] isItemNotified: configured:node:node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b:node-4469c70f-2206-4846-b4b6-5cac5e2b5e46 :: true

2023-07-06 22:30:51 | [Mutex] waiting for: [received:nodes:5743e87e-0a06-4535-b010-b948edbea598:localhost]

2023-07-06 22:30:51 | [Mutex] received everything.

2023-07-06 22:30:51 | [Mutex] isItemNotified: received:node:5743e87e-0a06-4535-b010-b948edbea598:localhost:node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b:Node dd8d83c9-a19f-4000-9bb4-d1f94a39f23b :: true

2023-07-06 22:30:51 | [Mutex] waiting for: [received:nodes:682595f6-502c-446c-9be2-fc176dfde551:localhost]

2023-07-06 22:30:51 | [Mutex] received everything.

2023-07-06 22:30:51 | [Mutex] isItemNotified: received:node:682595f6-502c-446c-9be2-fc176dfde551:localhost:node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b:Node dd8d83c9-a19f-4000-9bb4-d1f94a39f23b :: false

createNodes 1.393s
2023-07-06 22:30:47 |

2023-07-06 22:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:47 | ------------------------------------

2023-07-06 22:30:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dd8d83c9-a19f-4000-9bb4-d1f94a39f23b</title></pubsub></data>

2023-07-06 22:30:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 22:30:49 | [Mutex] waiting for: [received:nodes:9b92ed25-c76e-4dd1-868d-3d9337ee34a3:localhost]

2023-07-06 22:30:49 | [Mutex] waiting for: [received:nodes:9b92ed25-c76e-4dd1-868d-3d9337ee34a3:localhost]

2023-07-06 22:30:49 | [Mutex] waiting for: [received:nodes:9b92ed25-c76e-4dd1-868d-3d9337ee34a3:localhost]

2023-07-06 22:30:49 | [Mutex] received everything.

2023-07-06 22:30:49 | [Mutex] isItemNotified: received:node:9b92ed25-c76e-4dd1-868d-3d9337ee34a3:localhost:node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b:Node dd8d83c9-a19f-4000-9bb4-d1f94a39f23b :: true

createSubnodes 1.028s
2023-07-06 22:30:49 |

2023-07-06 22:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:49 | ------------------------------------

2023-07-06 22:30:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4469c70f-2206-4846-b4b6-5cac5e2b5e46</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4469c70f-2206-4846-b4b6-5cac5e2b5e46</title></pubsub></data>

2023-07-06 22:30:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 22:30:50 | [Mutex] waiting for: [received:nodes:dad07f99-144f-453e-869d-abbd754af179:localhost]

2023-07-06 22:30:50 | [Mutex] waiting for: [received:nodes:dad07f99-144f-453e-869d-abbd754af179:localhost]

2023-07-06 22:30:50 | [Mutex] waiting for: [received:nodes:dad07f99-144f-453e-869d-abbd754af179:localhost]

2023-07-06 22:30:50 | [Mutex] received everything.

2023-07-06 22:30:50 | [Mutex] isItemNotified: received:node:dad07f99-144f-453e-869d-abbd754af179:localhost:node-4469c70f-2206-4846-b4b6-5cac5e2b5e46:Node 4469c70f-2206-4846-b4b6-5cac5e2b5e46 :: true

deleteNodes 1.025s
2023-07-06 22:30:55 |

2023-07-06 22:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:55 | ------------------------------------

2023-07-06 22:30:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4469c70f-2206-4846-b4b6-5cac5e2b5e46</node></data>

2023-07-06 22:30:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 22:30:56 | [Mutex] waiting for: [received:nodes:21086bd0-79ee-415d-94c0-1fc91860cc9d:localhost]

2023-07-06 22:30:56 | [Mutex] waiting for: [received:nodes:21086bd0-79ee-415d-94c0-1fc91860cc9d:localhost]

2023-07-06 22:30:56 | [Mutex] waiting for: [received:nodes:21086bd0-79ee-415d-94c0-1fc91860cc9d:localhost]

2023-07-06 22:30:56 | [Mutex] received everything.

2023-07-06 22:30:56 | [Mutex] isItemNotified: received:node:21086bd0-79ee-415d-94c0-1fc91860cc9d:localhost:node-4469c70f-2206-4846-b4b6-5cac5e2b5e46:Node 4469c70f-2206-4846-b4b6-5cac5e2b5e46 :: false

deleteSubnodes 1.132s
2023-07-06 22:30:54 |

2023-07-06 22:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:54 | ------------------------------------

2023-07-06 22:30:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b</node></data>

2023-07-06 22:30:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 22:30:55 | [Mutex] waiting for: [received:nodes:9bfe2785-ff3d-4e6f-aed3-6243a9317543:localhost]

2023-07-06 22:30:55 | [Mutex] waiting for: [received:nodes:9bfe2785-ff3d-4e6f-aed3-6243a9317543:localhost]

2023-07-06 22:30:55 | [Mutex] waiting for: [received:nodes:9bfe2785-ff3d-4e6f-aed3-6243a9317543:localhost]

2023-07-06 22:30:55 | [Mutex] waiting for: [received:nodes:9bfe2785-ff3d-4e6f-aed3-6243a9317543:localhost]

2023-07-06 22:30:55 | [Mutex] received everything.

2023-07-06 22:30:55 | [Mutex] isItemNotified: received:node:9bfe2785-ff3d-4e6f-aed3-6243a9317543:localhost:node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b:Node dd8d83c9-a19f-4000-9bb4-d1f94a39f23b :: false

2023-07-06 22:30:55 | [Mutex] waiting for: [received:nodes:b884a551-f9c4-49ca-81ba-923578a8f18d:localhost]

2023-07-06 22:30:55 | [Mutex] received everything.

2023-07-06 22:30:55 | [Mutex] isItemNotified: received:node:b884a551-f9c4-49ca-81ba-923578a8f18d:localhost:node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b:Node dd8d83c9-a19f-4000-9bb4-d1f94a39f23b :: false

publishItemsToNodes 0.224s
2023-07-06 22:30:52 |

2023-07-06 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:52 | ------------------------------------

2023-07-06 22:30:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b</node><item-id>item-e899172b-8308-4f74-93fe-a97187647750</item-id><entry><test>item-e899172b-8308-4f74-93fe-a97187647750</test></entry></data>

2023-07-06 22:30:52 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-e899172b-8308-4f74-93fe-a97187647750</value></item-id></result>

2023-07-06 22:30:52 | [Mutex] waiting for: [published:item:notifieditem-e899172b-8308-4f74-93fe-a97187647750:admin@test-domain.com]

2023-07-06 22:30:52 | [Mutex] received everything.

2023-07-06 22:30:52 | [Mutex] isItemNotified: published:item:notifieditem-e899172b-8308-4f74-93fe-a97187647750:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2023-07-06 22:30:53 |

2023-07-06 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:53 | ------------------------------------

2023-07-06 22:30:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b</node><item-id>item-e899172b-8308-4f74-93fe-a97187647750</item-id></data>

2023-07-06 22:30:53 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-e899172b-8308-4f74-93fe-a97187647750</value></item-id></result>

2023-07-06 22:30:53 | [Mutex] received everything.

2023-07-06 22:30:53 | [Mutex] isItemNotified: retracted:item:notifieditem-e899172b-8308-4f74-93fe-a97187647750:admin@test-domain.com :: true

retrieveItemsFromNodes 0.271s
2023-07-06 22:30:52 |

2023-07-06 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:52 | ------------------------------------

2023-07-06 22:30:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b</node><item-id>item-e899172b-8308-4f74-93fe-a97187647750</item-id></data>

2023-07-06 22:30:52 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b</value></node><item-id label="Item ID" type="text-single"><value>item-e899172b-8308-4f74-93fe-a97187647750</value></item-id><item label="Item" type="text-multi"><value><item id="item-e899172b-8308-4f74-93fe-a97187647750"><test>item-e899172b-8308-4f74-93fe-a97187647750</test></item></value></item></result>

2023-07-06 22:30:52 | [Mutex] notify: [retrieved:item:item-e899172b-8308-4f74-93fe-a97187647750:payload-matches:true:localhost]

2023-07-06 22:30:52 | [Mutex] received everything.

2023-07-06 22:30:52 | [Mutex] isItemNotified: retrieved:item:item-e899172b-8308-4f74-93fe-a97187647750:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-07-06 22:30:52 |

2023-07-06 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:52 | ------------------------------------

2023-07-06 22:30:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-06 22:30:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-4469c70f-2206-4846-b4b6-5cac5e2b5e46</value><value>test</value><value>node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-06 22:30:53 |

2023-07-06 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:53 | ------------------------------------

2023-07-06 22:30:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b)</node-pattern></data>

2023-07-06 22:30:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.112s
2023-07-06 22:30:51 |

2023-07-06 22:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:51 | ------------------------------------

2023-07-06 22:30:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-06 22:30:51 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.267s
2023-07-06 22:30:53 |

2023-07-06 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:30:53 | ------------------------------------

2023-07-06 22:30:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dd8d83c9-a19f-4000-9bb4-d1f94a39f23b</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-06 22:30:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>