Generated by TestNG with ReportNG at 22:46 PDT on Sunday 03 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.598s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2022-07-03 23:00:22 |

2022-07-03 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:22 | ------------------------------------

2022-07-03 23:00:22 | [Mutex] waiting for: [configured:node:node-b62461b7-2a80-4890-89d6-16eafa7866d5:node-8770422c-0001-40dc-b69d-1550c72641b8]

2022-07-03 23:00:22 | [Mutex] received everything.

2022-07-03 23:00:22 | [Mutex] isItemNotified: configured:node:node-b62461b7-2a80-4890-89d6-16eafa7866d5:node-8770422c-0001-40dc-b69d-1550c72641b8 :: true

2022-07-03 23:00:23 | [Mutex] waiting for: [received:nodes:ee75aa17-cd21-406d-8982-b895111b9215:localhost]

2022-07-03 23:00:23 | [Mutex] received everything.

2022-07-03 23:00:23 | [Mutex] isItemNotified: received:node:ee75aa17-cd21-406d-8982-b895111b9215:localhost:node-b62461b7-2a80-4890-89d6-16eafa7866d5:Node b62461b7-2a80-4890-89d6-16eafa7866d5 :: true

2022-07-03 23:00:23 | [Mutex] waiting for: [received:nodes:8f02b781-cbfb-4f2e-b53f-c73afab0f136:localhost]

2022-07-03 23:00:23 | [Mutex] waiting for: [received:nodes:8f02b781-cbfb-4f2e-b53f-c73afab0f136:localhost]

2022-07-03 23:00:23 | [Mutex] received everything.

2022-07-03 23:00:23 | [Mutex] isItemNotified: received:node:8f02b781-cbfb-4f2e-b53f-c73afab0f136:localhost:node-b62461b7-2a80-4890-89d6-16eafa7866d5:Node b62461b7-2a80-4890-89d6-16eafa7866d5 :: false

createNodes 1.434s
2022-07-03 23:00:20 |

2022-07-03 23:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:20 | ------------------------------------

2022-07-03 23:00:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b62461b7-2a80-4890-89d6-16eafa7866d5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b62461b7-2a80-4890-89d6-16eafa7866d5</title></pubsub></data>

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

2022-07-03 23:00:21 | [Mutex] waiting for: [received:nodes:d506fda5-5d30-4c97-ba82-eeee879c5323:localhost]

2022-07-03 23:00:21 | [Mutex] waiting for: [received:nodes:d506fda5-5d30-4c97-ba82-eeee879c5323:localhost]

2022-07-03 23:00:21 | [Mutex] received everything.

2022-07-03 23:00:21 | [Mutex] isItemNotified: received:node:d506fda5-5d30-4c97-ba82-eeee879c5323:localhost:node-b62461b7-2a80-4890-89d6-16eafa7866d5:Node b62461b7-2a80-4890-89d6-16eafa7866d5 :: true

createSubnodes 1.022s
2022-07-03 23:00:21 |

2022-07-03 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:21 | ------------------------------------

2022-07-03 23:00:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8770422c-0001-40dc-b69d-1550c72641b8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8770422c-0001-40dc-b69d-1550c72641b8</title></pubsub></data>

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

2022-07-03 23:00:22 | [Mutex] waiting for: [received:nodes:80b2af2f-0f1b-4367-b821-253b80e54879:localhost]

2022-07-03 23:00:22 | [Mutex] received everything.

2022-07-03 23:00:22 | [Mutex] isItemNotified: received:node:80b2af2f-0f1b-4367-b821-253b80e54879:localhost:node-8770422c-0001-40dc-b69d-1550c72641b8:Node 8770422c-0001-40dc-b69d-1550c72641b8 :: true

deleteNodes 1.024s
2022-07-03 23:00:28 |

2022-07-03 23:00:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:28 | ------------------------------------

2022-07-03 23:00:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8770422c-0001-40dc-b69d-1550c72641b8</node></data>

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

2022-07-03 23:00:29 | [Mutex] waiting for: [received:nodes:6a375e2b-fe3d-48b2-9ed7-f55734999ffd:localhost]

2022-07-03 23:00:29 | [Mutex] waiting for: [received:nodes:6a375e2b-fe3d-48b2-9ed7-f55734999ffd:localhost]

2022-07-03 23:00:29 | [Mutex] waiting for: [received:nodes:6a375e2b-fe3d-48b2-9ed7-f55734999ffd:localhost]

2022-07-03 23:00:29 | [Mutex] received everything.

2022-07-03 23:00:29 | [Mutex] isItemNotified: received:node:6a375e2b-fe3d-48b2-9ed7-f55734999ffd:localhost:node-8770422c-0001-40dc-b69d-1550c72641b8:Node 8770422c-0001-40dc-b69d-1550c72641b8 :: false

deleteSubnodes 1.158s
2022-07-03 23:00:27 |

2022-07-03 23:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:27 | ------------------------------------

2022-07-03 23:00:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b62461b7-2a80-4890-89d6-16eafa7866d5</node></data>

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

2022-07-03 23:00:28 | [Mutex] waiting for: [received:nodes:0b69decd-b2e9-4cb1-9286-1ede9793ed63:localhost]

2022-07-03 23:00:28 | [Mutex] received everything.

2022-07-03 23:00:28 | [Mutex] isItemNotified: received:node:0b69decd-b2e9-4cb1-9286-1ede9793ed63:localhost:node-b62461b7-2a80-4890-89d6-16eafa7866d5:Node b62461b7-2a80-4890-89d6-16eafa7866d5 :: false

2022-07-03 23:00:28 | [Mutex] waiting for: [received:nodes:390e85f7-49ff-4c77-94ae-9997bc9ac116:localhost]

2022-07-03 23:00:28 | [Mutex] received everything.

2022-07-03 23:00:28 | [Mutex] isItemNotified: received:node:390e85f7-49ff-4c77-94ae-9997bc9ac116:localhost:node-b62461b7-2a80-4890-89d6-16eafa7866d5:Node b62461b7-2a80-4890-89d6-16eafa7866d5 :: false

publishItemsToNodes 0.250s
2022-07-03 23:00:25 |

2022-07-03 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:25 | ------------------------------------

2022-07-03 23:00:25 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b62461b7-2a80-4890-89d6-16eafa7866d5</node><item-id>item-011806b1-776f-4c66-b2d1-305844420889</item-id><entry><test>item-011806b1-776f-4c66-b2d1-305844420889</test></entry></data>

2022-07-03 23:00:25 | 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-011806b1-776f-4c66-b2d1-305844420889</value></item-id></result>

2022-07-03 23:00:25 | [Mutex] received everything.

2022-07-03 23:00:25 | [Mutex] isItemNotified: published:item:notifieditem-011806b1-776f-4c66-b2d1-305844420889:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-07-03 23:00:25 |

2022-07-03 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:25 | ------------------------------------

2022-07-03 23:00:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b62461b7-2a80-4890-89d6-16eafa7866d5</node><item-id>item-011806b1-776f-4c66-b2d1-305844420889</item-id></data>

2022-07-03 23:00:26 | 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-011806b1-776f-4c66-b2d1-305844420889</value></item-id></result>

2022-07-03 23:00:26 | [Mutex] received everything.

2022-07-03 23:00:26 | [Mutex] isItemNotified: retracted:item:notifieditem-011806b1-776f-4c66-b2d1-305844420889:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2022-07-03 23:00:25 |

2022-07-03 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:25 | ------------------------------------

2022-07-03 23:00:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b62461b7-2a80-4890-89d6-16eafa7866d5</node><item-id>item-011806b1-776f-4c66-b2d1-305844420889</item-id></data>

2022-07-03 23:00:25 | 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-b62461b7-2a80-4890-89d6-16eafa7866d5</value></node><item-id type="text-single" label="Item ID"><value>item-011806b1-776f-4c66-b2d1-305844420889</value></item-id><item type="text-multi" label="Item"><value><item id="item-011806b1-776f-4c66-b2d1-305844420889"><test>item-011806b1-776f-4c66-b2d1-305844420889</test></item></value></item></result>

2022-07-03 23:00:25 | [Mutex] notify: [retrieved:item:item-011806b1-776f-4c66-b2d1-305844420889:payload-matches:true:localhost]

2022-07-03 23:00:25 | [Mutex] received everything.

2022-07-03 23:00:25 | [Mutex] isItemNotified: retrieved:item:item-011806b1-776f-4c66-b2d1-305844420889:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-03 23:00:25 |

2022-07-03 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:25 | ------------------------------------

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

2022-07-03 23:00:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-8770422c-0001-40dc-b69d-1550c72641b8</value><value>test</value><value>node-b62461b7-2a80-4890-89d6-16eafa7866d5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-07-03 23:00:25 |

2022-07-03 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:25 | ------------------------------------

2022-07-03 23:00:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b62461b7-2a80-4890-89d6-16eafa7866d5)</node-pattern></data>

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

subscribeNodes 1.115s
2022-07-03 23:00:23 |

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

2022-07-03 23:00:23 | ------------------------------------

2022-07-03 23:00:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b62461b7-2a80-4890-89d6-16eafa7866d5</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-03 23:00:24 | 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-07-03 23:00:26 |

2022-07-03 23:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 23:00:26 | ------------------------------------

2022-07-03 23:00:26 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b62461b7-2a80-4890-89d6-16eafa7866d5</node><jids><value>admin@test-domain.com</value></jids></data>

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