Generated by TestNG with ReportNG at 22:43 PDT on Sunday 25 April 2021
root@b2c2a8eba6e6 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.073s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2021-04-25 22:56:40 |

2021-04-25 22:56:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:40 | ------------------------------------

2021-04-25 22:56:40 | [Mutex] waiting for: [configured:node:node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c:node-5f658d7f-6588-40b4-b634-5bc59a3e3d84]

2021-04-25 22:56:40 | [Mutex] received everything.

2021-04-25 22:56:40 | [Mutex] isItemNotified: configured:node:node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c:node-5f658d7f-6588-40b4-b634-5bc59a3e3d84 :: true

2021-04-25 22:56:41 | [Mutex] waiting for: [received:nodes:4b25978f-8148-4a17-8b45-893554085858:localhost]

2021-04-25 22:56:41 | [Mutex] received everything.

2021-04-25 22:56:41 | [Mutex] isItemNotified: received:node:4b25978f-8148-4a17-8b45-893554085858:localhost:node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c:Node a10d7a08-8ab3-4ba7-8ce7-994180b5d10c :: true

2021-04-25 22:56:41 | [Mutex] waiting for: [received:nodes:2f235be2-4e3c-4e4e-bc75-496686abf19b:localhost]

2021-04-25 22:56:41 | [Mutex] waiting for: [received:nodes:2f235be2-4e3c-4e4e-bc75-496686abf19b:localhost]

2021-04-25 22:56:41 | [Mutex] received everything.

2021-04-25 22:56:41 | [Mutex] isItemNotified: received:node:2f235be2-4e3c-4e4e-bc75-496686abf19b:localhost:node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c:Node a10d7a08-8ab3-4ba7-8ce7-994180b5d10c :: false

createNodes 1.531s
2021-04-25 22:56:38 |

2021-04-25 22:56:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:38 | ------------------------------------

2021-04-25 22:56:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a10d7a08-8ab3-4ba7-8ce7-994180b5d10c</title></pubsub></data>

2021-04-25 22:56:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-25 22:56:39 | [Mutex] waiting for: [received:nodes:3a56b5fe-8a0d-4b0f-a3f8-175fb335102a:localhost]

2021-04-25 22:56:39 | [Mutex] received everything.

2021-04-25 22:56:39 | [Mutex] isItemNotified: received:node:3a56b5fe-8a0d-4b0f-a3f8-175fb335102a:localhost:node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c:Node a10d7a08-8ab3-4ba7-8ce7-994180b5d10c :: true

createSubnodes 1.026s
2021-04-25 22:56:39 |

2021-04-25 22:56:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:39 | ------------------------------------

2021-04-25 22:56:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5f658d7f-6588-40b4-b634-5bc59a3e3d84</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5f658d7f-6588-40b4-b634-5bc59a3e3d84</title></pubsub></data>

2021-04-25 22:56:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-25 22:56:40 | [Mutex] waiting for: [received:nodes:0205031e-0d2b-4d75-9aed-32b52894981e:localhost]

2021-04-25 22:56:40 | [Mutex] received everything.

2021-04-25 22:56:40 | [Mutex] isItemNotified: received:node:0205031e-0d2b-4d75-9aed-32b52894981e:localhost:node-5f658d7f-6588-40b4-b634-5bc59a3e3d84:Node 5f658d7f-6588-40b4-b634-5bc59a3e3d84 :: true

deleteNodes 1.017s
2021-04-25 22:56:46 |

2021-04-25 22:56:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:46 | ------------------------------------

2021-04-25 22:56:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5f658d7f-6588-40b4-b634-5bc59a3e3d84</node></data>

2021-04-25 22:56:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-25 22:56:47 | [Mutex] waiting for: [received:nodes:b026db97-9eb0-4f20-85cc-f8d52cc86c17:localhost]

2021-04-25 22:56:47 | [Mutex] received everything.

2021-04-25 22:56:47 | [Mutex] isItemNotified: received:node:b026db97-9eb0-4f20-85cc-f8d52cc86c17:localhost:node-5f658d7f-6588-40b4-b634-5bc59a3e3d84:Node 5f658d7f-6588-40b4-b634-5bc59a3e3d84 :: false

deleteSubnodes 1.179s
2021-04-25 22:56:45 |

2021-04-25 22:56:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:45 | ------------------------------------

2021-04-25 22:56:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c</node></data>

2021-04-25 22:56:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-25 22:56:46 | [Mutex] waiting for: [received:nodes:74261178-229a-48a4-949b-735ec4905a25:localhost]

2021-04-25 22:56:46 | [Mutex] received everything.

2021-04-25 22:56:46 | [Mutex] isItemNotified: received:node:74261178-229a-48a4-949b-735ec4905a25:localhost:node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c:Node a10d7a08-8ab3-4ba7-8ce7-994180b5d10c :: false

2021-04-25 22:56:46 | [Mutex] waiting for: [received:nodes:3dcf9840-e1b2-4b1d-9454-c5d69deaef5b:localhost]

2021-04-25 22:56:46 | [Mutex] received everything.

2021-04-25 22:56:46 | [Mutex] isItemNotified: received:node:3dcf9840-e1b2-4b1d-9454-c5d69deaef5b:localhost:node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c:Node a10d7a08-8ab3-4ba7-8ce7-994180b5d10c :: false

publishItemsToNodes 0.222s
2021-04-25 22:56:43 |

2021-04-25 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:43 | ------------------------------------

2021-04-25 22:56:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c</node><item-id>item-1356cdd1-25c2-4c6c-a765-5128db6c919b</item-id><entry><test>item-1356cdd1-25c2-4c6c-a765-5128db6c919b</test></entry></data>

2021-04-25 22:56:43 | 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-1356cdd1-25c2-4c6c-a765-5128db6c919b</value></item-id></result>

2021-04-25 22:56:43 | [Mutex] received everything.

2021-04-25 22:56:43 | [Mutex] isItemNotified: published:item:notifieditem-1356cdd1-25c2-4c6c-a765-5128db6c919b:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2021-04-25 22:56:43 |

2021-04-25 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:43 | ------------------------------------

2021-04-25 22:56:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c</node><item-id>item-1356cdd1-25c2-4c6c-a765-5128db6c919b</item-id></data>

2021-04-25 22:56:43 | 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-1356cdd1-25c2-4c6c-a765-5128db6c919b</value></item-id></result>

2021-04-25 22:56:43 | [Mutex] received everything.

2021-04-25 22:56:43 | [Mutex] isItemNotified: retracted:item:notifieditem-1356cdd1-25c2-4c6c-a765-5128db6c919b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.284s
2021-04-25 22:56:43 |

2021-04-25 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:43 | ------------------------------------

2021-04-25 22:56:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c</node><item-id>item-1356cdd1-25c2-4c6c-a765-5128db6c919b</item-id></data>

2021-04-25 22:56:43 | 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-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c</value></node><item-id label="Item ID" type="text-single"><value>item-1356cdd1-25c2-4c6c-a765-5128db6c919b</value></item-id><item label="Item" type="text-multi"><value><item id="item-1356cdd1-25c2-4c6c-a765-5128db6c919b"><test>item-1356cdd1-25c2-4c6c-a765-5128db6c919b</test></item></value></item></result>

2021-04-25 22:56:43 | [Mutex] notify: [retrieved:item:item-1356cdd1-25c2-4c6c-a765-5128db6c919b:payload-matches:true:localhost]

2021-04-25 22:56:43 | [Mutex] received everything.

2021-04-25 22:56:43 | [Mutex] isItemNotified: retrieved:item:item-1356cdd1-25c2-4c6c-a765-5128db6c919b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-25 22:56:43 |

2021-04-25 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:43 | ------------------------------------

2021-04-25 22:56:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-25 22:56:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c</value><value>node-5f658d7f-6588-40b4-b634-5bc59a3e3d84</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-04-25 22:56:43 |

2021-04-25 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:43 | ------------------------------------

2021-04-25 22:56:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c)</node-pattern></data>

2021-04-25 22:56:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.156s
2021-04-25 22:56:41 |

2021-04-25 22:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:41 | ------------------------------------

2021-04-25 22:56:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-25 22:56:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.311s
2021-04-25 22:56:43 |

2021-04-25 22:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:56:43 | ------------------------------------

2021-04-25 22:56:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a10d7a08-8ab3-4ba7-8ce7-994180b5d10c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-25 22:56:44 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>