Generated by TestNG with ReportNG at 22:50 PDT on Wednesday 06 July 2022
root@ed1b7dd8a1b3 / 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.589s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.136s
2022-07-06 23:05:07 |

2022-07-06 23:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:07 | ------------------------------------

2022-07-06 23:05:07 | [Mutex] waiting for: [configured:node:node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020:node-fc878b26-189b-44bd-8b27-f51836cf881f]

2022-07-06 23:05:07 | [Mutex] received everything.

2022-07-06 23:05:07 | [Mutex] isItemNotified: configured:node:node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020:node-fc878b26-189b-44bd-8b27-f51836cf881f :: true

2022-07-06 23:05:08 | [Mutex] waiting for: [received:nodes:c6939fa2-fcc0-45f8-b93d-22b574a27d58:localhost]

2022-07-06 23:05:08 | [Mutex] received everything.

2022-07-06 23:05:08 | [Mutex] isItemNotified: received:node:c6939fa2-fcc0-45f8-b93d-22b574a27d58:localhost:node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020:Node 88718f4f-e6a5-4f00-aef7-0ce3d8b4d020 :: true

2022-07-06 23:05:08 | [Mutex] waiting for: [received:nodes:33f6bf82-cb9e-4aae-a5b9-9a30f45eb87b:localhost]

2022-07-06 23:05:08 | [Mutex] received everything.

2022-07-06 23:05:08 | [Mutex] isItemNotified: received:node:33f6bf82-cb9e-4aae-a5b9-9a30f45eb87b:localhost:node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020:Node 88718f4f-e6a5-4f00-aef7-0ce3d8b4d020 :: false

createNodes 1.419s
2022-07-06 23:05:05 |

2022-07-06 23:05:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:05 | ------------------------------------

2022-07-06 23:05:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 88718f4f-e6a5-4f00-aef7-0ce3d8b4d020</title></pubsub></data>

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

2022-07-06 23:05:06 | [Mutex] waiting for: [received:nodes:98f4359d-69e1-45b9-938d-16cf3d70c1cc:localhost]

2022-07-06 23:05:06 | [Mutex] received everything.

2022-07-06 23:05:06 | [Mutex] isItemNotified: received:node:98f4359d-69e1-45b9-938d-16cf3d70c1cc:localhost:node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020:Node 88718f4f-e6a5-4f00-aef7-0ce3d8b4d020 :: true

createSubnodes 1.024s
2022-07-06 23:05:06 |

2022-07-06 23:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:06 | ------------------------------------

2022-07-06 23:05:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fc878b26-189b-44bd-8b27-f51836cf881f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fc878b26-189b-44bd-8b27-f51836cf881f</title></pubsub></data>

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

2022-07-06 23:05:07 | [Mutex] waiting for: [received:nodes:5401e380-963f-4904-a9aa-34e3eb4c3ecf:localhost]

2022-07-06 23:05:07 | [Mutex] waiting for: [received:nodes:5401e380-963f-4904-a9aa-34e3eb4c3ecf:localhost]

2022-07-06 23:05:07 | [Mutex] received everything.

2022-07-06 23:05:07 | [Mutex] isItemNotified: received:node:5401e380-963f-4904-a9aa-34e3eb4c3ecf:localhost:node-fc878b26-189b-44bd-8b27-f51836cf881f:Node fc878b26-189b-44bd-8b27-f51836cf881f :: true

deleteNodes 1.024s
2022-07-06 23:05:13 |

2022-07-06 23:05:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:13 | ------------------------------------

2022-07-06 23:05:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fc878b26-189b-44bd-8b27-f51836cf881f</node></data>

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

2022-07-06 23:05:14 | [Mutex] waiting for: [received:nodes:89e84b0c-7a79-46df-b7e1-d4800878e9d2:localhost]

2022-07-06 23:05:14 | [Mutex] waiting for: [received:nodes:89e84b0c-7a79-46df-b7e1-d4800878e9d2:localhost]

2022-07-06 23:05:14 | [Mutex] received everything.

2022-07-06 23:05:14 | [Mutex] isItemNotified: received:node:89e84b0c-7a79-46df-b7e1-d4800878e9d2:localhost:node-fc878b26-189b-44bd-8b27-f51836cf881f:Node fc878b26-189b-44bd-8b27-f51836cf881f :: false

deleteSubnodes 1.131s
2022-07-06 23:05:11 |

2022-07-06 23:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:11 | ------------------------------------

2022-07-06 23:05:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020</node></data>

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

2022-07-06 23:05:13 | [Mutex] waiting for: [received:nodes:489daac1-aa75-4884-a4ca-f67f42d9f389:localhost]

2022-07-06 23:05:13 | [Mutex] waiting for: [received:nodes:489daac1-aa75-4884-a4ca-f67f42d9f389:localhost]

2022-07-06 23:05:13 | [Mutex] waiting for: [received:nodes:489daac1-aa75-4884-a4ca-f67f42d9f389:localhost]

2022-07-06 23:05:13 | [Mutex] waiting for: [received:nodes:489daac1-aa75-4884-a4ca-f67f42d9f389:localhost]

2022-07-06 23:05:13 | [Mutex] received everything.

2022-07-06 23:05:13 | [Mutex] isItemNotified: received:node:489daac1-aa75-4884-a4ca-f67f42d9f389:localhost:node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020:Node 88718f4f-e6a5-4f00-aef7-0ce3d8b4d020 :: false

2022-07-06 23:05:13 | [Mutex] waiting for: [received:nodes:6a12be34-1b40-46ce-92ba-0053c649593a:localhost]

2022-07-06 23:05:13 | [Mutex] received everything.

2022-07-06 23:05:13 | [Mutex] isItemNotified: received:node:6a12be34-1b40-46ce-92ba-0053c649593a:localhost:node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020:Node 88718f4f-e6a5-4f00-aef7-0ce3d8b4d020 :: false

publishItemsToNodes 0.298s
2022-07-06 23:05:09 |

2022-07-06 23:05:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:09 | ------------------------------------

2022-07-06 23:05:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020</node><item-id>item-9f615014-8086-43e4-8bde-29be520babfb</item-id><entry><test>item-9f615014-8086-43e4-8bde-29be520babfb</test></entry></data>

2022-07-06 23:05:10 | 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-9f615014-8086-43e4-8bde-29be520babfb</value></item-id></result>

2022-07-06 23:05:10 | [Mutex] received everything.

2022-07-06 23:05:10 | [Mutex] isItemNotified: published:item:notifieditem-9f615014-8086-43e4-8bde-29be520babfb:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-07-06 23:05:10 |

2022-07-06 23:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:10 | ------------------------------------

2022-07-06 23:05:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020</node><item-id>item-9f615014-8086-43e4-8bde-29be520babfb</item-id></data>

2022-07-06 23:05:10 | 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-9f615014-8086-43e4-8bde-29be520babfb</value></item-id></result>

2022-07-06 23:05:10 | [Mutex] received everything.

2022-07-06 23:05:10 | [Mutex] isItemNotified: retracted:item:notifieditem-9f615014-8086-43e4-8bde-29be520babfb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.191s
2022-07-06 23:05:10 |

2022-07-06 23:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:10 | ------------------------------------

2022-07-06 23:05:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020</node><item-id>item-9f615014-8086-43e4-8bde-29be520babfb</item-id></data>

2022-07-06 23:05:10 | 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-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020</value></node><item-id type="text-single" label="Item ID"><value>item-9f615014-8086-43e4-8bde-29be520babfb</value></item-id><item type="text-multi" label="Item"><value><item id="item-9f615014-8086-43e4-8bde-29be520babfb"><test>item-9f615014-8086-43e4-8bde-29be520babfb</test></item></value></item></result>

2022-07-06 23:05:10 | [Mutex] notify: [retrieved:item:item-9f615014-8086-43e4-8bde-29be520babfb:payload-matches:true:localhost]

2022-07-06 23:05:10 | [Mutex] received everything.

2022-07-06 23:05:10 | [Mutex] isItemNotified: retrieved:item:item-9f615014-8086-43e4-8bde-29be520babfb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-06 23:05:10 |

2022-07-06 23:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:10 | ------------------------------------

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

2022-07-06 23:05:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-fc878b26-189b-44bd-8b27-f51836cf881f</value><value>test</value><value>node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-06 23:05:10 |

2022-07-06 23:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:10 | ------------------------------------

2022-07-06 23:05:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020)</node-pattern></data>

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

subscribeNodes 1.117s
2022-07-06 23:05:08 |

2022-07-06 23:05:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:08 | ------------------------------------

2022-07-06 23:05:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.195s
2022-07-06 23:05:10 |

2022-07-06 23:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:05:10 | ------------------------------------

2022-07-06 23:05:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-88718f4f-e6a5-4f00-aef7-0ce3d8b4d020</node><jids><value>admin@test-domain.com</value></jids></data>

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