Generated by TestNG with ReportNG at 22:21 PDT on Sunday 02 October 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.482s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.118s
2022-10-02 22:36:31 |

2022-10-02 22:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:31 | ------------------------------------

2022-10-02 22:36:31 | [Mutex] waiting for: [configured:node:node-70ffab5b-a054-44f5-8a4b-f893a48a03ae:node-be392368-f915-4f3a-b12e-3c529eb04458]

2022-10-02 22:36:31 | [Mutex] received everything.

2022-10-02 22:36:31 | [Mutex] isItemNotified: configured:node:node-70ffab5b-a054-44f5-8a4b-f893a48a03ae:node-be392368-f915-4f3a-b12e-3c529eb04458 :: true

2022-10-02 22:36:32 | [Mutex] waiting for: [received:nodes:c700ee2f-d30f-4ca1-a421-959b0b8379a7:localhost]

2022-10-02 22:36:32 | [Mutex] received everything.

2022-10-02 22:36:32 | [Mutex] isItemNotified: received:node:c700ee2f-d30f-4ca1-a421-959b0b8379a7:localhost:node-70ffab5b-a054-44f5-8a4b-f893a48a03ae:Node 70ffab5b-a054-44f5-8a4b-f893a48a03ae :: true

2022-10-02 22:36:32 | [Mutex] waiting for: [received:nodes:4c937c0c-2260-4454-9a8e-6d2b7dc95675:localhost]

2022-10-02 22:36:32 | [Mutex] received everything.

2022-10-02 22:36:32 | [Mutex] isItemNotified: received:node:4c937c0c-2260-4454-9a8e-6d2b7dc95675:localhost:node-70ffab5b-a054-44f5-8a4b-f893a48a03ae:Node 70ffab5b-a054-44f5-8a4b-f893a48a03ae :: false

createNodes 1.480s
2022-10-02 22:36:29 |

2022-10-02 22:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:29 | ------------------------------------

2022-10-02 22:36:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-70ffab5b-a054-44f5-8a4b-f893a48a03ae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 70ffab5b-a054-44f5-8a4b-f893a48a03ae</title></pubsub></data>

2022-10-02 22:36:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-02 22:36:30 | [Mutex] waiting for: [received:nodes:6b49f806-910e-48df-b4e6-694935dc095a:localhost]

2022-10-02 22:36:30 | [Mutex] waiting for: [received:nodes:6b49f806-910e-48df-b4e6-694935dc095a:localhost]

2022-10-02 22:36:30 | [Mutex] received everything.

2022-10-02 22:36:30 | [Mutex] isItemNotified: received:node:6b49f806-910e-48df-b4e6-694935dc095a:localhost:node-70ffab5b-a054-44f5-8a4b-f893a48a03ae:Node 70ffab5b-a054-44f5-8a4b-f893a48a03ae :: true

createSubnodes 1.027s
2022-10-02 22:36:30 |

2022-10-02 22:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:30 | ------------------------------------

2022-10-02 22:36:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-be392368-f915-4f3a-b12e-3c529eb04458</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node be392368-f915-4f3a-b12e-3c529eb04458</title></pubsub></data>

2022-10-02 22:36:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-02 22:36:31 | [Mutex] waiting for: [received:nodes:a7c22a77-1432-4969-ac7b-62376060713a:localhost]

2022-10-02 22:36:31 | [Mutex] received everything.

2022-10-02 22:36:31 | [Mutex] isItemNotified: received:node:a7c22a77-1432-4969-ac7b-62376060713a:localhost:node-be392368-f915-4f3a-b12e-3c529eb04458:Node be392368-f915-4f3a-b12e-3c529eb04458 :: true

deleteNodes 1.019s
2022-10-02 22:36:37 |

2022-10-02 22:36:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:37 | ------------------------------------

2022-10-02 22:36:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-be392368-f915-4f3a-b12e-3c529eb04458</node></data>

2022-10-02 22:36:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-02 22:36:38 | [Mutex] waiting for: [received:nodes:88510c4f-1371-468d-8cfd-463c4ce3736f:localhost]

2022-10-02 22:36:38 | [Mutex] received everything.

2022-10-02 22:36:38 | [Mutex] isItemNotified: received:node:88510c4f-1371-468d-8cfd-463c4ce3736f:localhost:node-be392368-f915-4f3a-b12e-3c529eb04458:Node be392368-f915-4f3a-b12e-3c529eb04458 :: false

deleteSubnodes 1.125s
2022-10-02 22:36:36 |

2022-10-02 22:36:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:36 | ------------------------------------

2022-10-02 22:36:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-70ffab5b-a054-44f5-8a4b-f893a48a03ae</node></data>

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

2022-10-02 22:36:37 | [Mutex] waiting for: [received:nodes:500cbefb-b573-4cac-8911-f8fa6748593c:localhost]

2022-10-02 22:36:37 | [Mutex] waiting for: [received:nodes:500cbefb-b573-4cac-8911-f8fa6748593c:localhost]

2022-10-02 22:36:37 | [Mutex] received everything.

2022-10-02 22:36:37 | [Mutex] isItemNotified: received:node:500cbefb-b573-4cac-8911-f8fa6748593c:localhost:node-70ffab5b-a054-44f5-8a4b-f893a48a03ae:Node 70ffab5b-a054-44f5-8a4b-f893a48a03ae :: false

2022-10-02 22:36:37 | [Mutex] waiting for: [received:nodes:d7399751-4be9-45f4-993c-59efe6d872cf:localhost]

2022-10-02 22:36:37 | [Mutex] received everything.

2022-10-02 22:36:37 | [Mutex] isItemNotified: received:node:d7399751-4be9-45f4-993c-59efe6d872cf:localhost:node-70ffab5b-a054-44f5-8a4b-f893a48a03ae:Node 70ffab5b-a054-44f5-8a4b-f893a48a03ae :: false

publishItemsToNodes 0.189s
2022-10-02 22:36:34 |

2022-10-02 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:34 | ------------------------------------

2022-10-02 22:36:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-70ffab5b-a054-44f5-8a4b-f893a48a03ae</node><item-id>item-15b61c06-1adf-4f70-95e9-34cec0f2e952</item-id><entry><test>item-15b61c06-1adf-4f70-95e9-34cec0f2e952</test></entry></data>

2022-10-02 22:36:34 | 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-15b61c06-1adf-4f70-95e9-34cec0f2e952</value></item-id></result>

2022-10-02 22:36:34 | [Mutex] received everything.

2022-10-02 22:36:34 | [Mutex] isItemNotified: published:item:notifieditem-15b61c06-1adf-4f70-95e9-34cec0f2e952:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-10-02 22:36:34 |

2022-10-02 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:34 | ------------------------------------

2022-10-02 22:36:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-70ffab5b-a054-44f5-8a4b-f893a48a03ae</node><item-id>item-15b61c06-1adf-4f70-95e9-34cec0f2e952</item-id></data>

2022-10-02 22:36:34 | 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-15b61c06-1adf-4f70-95e9-34cec0f2e952</value></item-id></result>

2022-10-02 22:36:34 | [Mutex] received everything.

2022-10-02 22:36:34 | [Mutex] isItemNotified: retracted:item:notifieditem-15b61c06-1adf-4f70-95e9-34cec0f2e952:admin@test-domain.com :: true

retrieveItemsFromNodes 0.191s
2022-10-02 22:36:34 |

2022-10-02 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:34 | ------------------------------------

2022-10-02 22:36:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-70ffab5b-a054-44f5-8a4b-f893a48a03ae</node><item-id>item-15b61c06-1adf-4f70-95e9-34cec0f2e952</item-id></data>

2022-10-02 22:36:34 | 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-70ffab5b-a054-44f5-8a4b-f893a48a03ae</value></node><item-id type="text-single" label="Item ID"><value>item-15b61c06-1adf-4f70-95e9-34cec0f2e952</value></item-id><item type="text-multi" label="Item"><value><item id="item-15b61c06-1adf-4f70-95e9-34cec0f2e952"><test>item-15b61c06-1adf-4f70-95e9-34cec0f2e952</test></item></value></item></result>

2022-10-02 22:36:34 | [Mutex] notify: [retrieved:item:item-15b61c06-1adf-4f70-95e9-34cec0f2e952:payload-matches:true:localhost]

2022-10-02 22:36:34 | [Mutex] received everything.

2022-10-02 22:36:34 | [Mutex] isItemNotified: retrieved:item:item-15b61c06-1adf-4f70-95e9-34cec0f2e952:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-02 22:36:34 |

2022-10-02 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:34 | ------------------------------------

2022-10-02 22:36:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-02 22:36:34 | 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-be392368-f915-4f3a-b12e-3c529eb04458</value><value>node-70ffab5b-a054-44f5-8a4b-f893a48a03ae</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-10-02 22:36:34 |

2022-10-02 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:34 | ------------------------------------

2022-10-02 22:36:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-70ffab5b-a054-44f5-8a4b-f893a48a03ae)</node-pattern></data>

2022-10-02 22:36:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.173s
2022-10-02 22:36:32 |

2022-10-02 22:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:32 | ------------------------------------

2022-10-02 22:36:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-70ffab5b-a054-44f5-8a4b-f893a48a03ae</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-02 22:36:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.183s
2022-10-02 22:36:34 |

2022-10-02 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:34 | ------------------------------------

2022-10-02 22:36:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-70ffab5b-a054-44f5-8a4b-f893a48a03ae</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-02 22:36:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>