Generated by TestNG with ReportNG at 07:43 PDT on Friday 25 June 2021
root@f29ef40080b5 / 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.206s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2021-06-25 08:00:20 |

2021-06-25 08:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:20 | ------------------------------------

2021-06-25 08:00:20 | [Mutex] waiting for: [configured:node:node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3:node-384cf9b5-6f90-4be4-9f26-304ad253c0ab]

2021-06-25 08:00:21 | [Mutex] received everything.

2021-06-25 08:00:21 | [Mutex] isItemNotified: configured:node:node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3:node-384cf9b5-6f90-4be4-9f26-304ad253c0ab :: true

2021-06-25 08:00:22 | [Mutex] waiting for: [received:nodes:bd5f3eab-bc28-4d91-a11a-c1953fc6a296:localhost]

2021-06-25 08:00:22 | [Mutex] received everything.

2021-06-25 08:00:22 | [Mutex] isItemNotified: received:node:bd5f3eab-bc28-4d91-a11a-c1953fc6a296:localhost:node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3:Node b06d83fc-9db2-4e17-9d7a-87e5889aaec3 :: true

2021-06-25 08:00:22 | [Mutex] waiting for: [received:nodes:6b871f6f-7c9a-4078-9ac5-1fc37462b02c:localhost]

2021-06-25 08:00:22 | [Mutex] received everything.

2021-06-25 08:00:22 | [Mutex] isItemNotified: received:node:6b871f6f-7c9a-4078-9ac5-1fc37462b02c:localhost:node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3:Node b06d83fc-9db2-4e17-9d7a-87e5889aaec3 :: false

createNodes 1.630s
2021-06-25 08:00:18 |

2021-06-25 08:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:18 | ------------------------------------

2021-06-25 08:00:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b06d83fc-9db2-4e17-9d7a-87e5889aaec3</title></pubsub></data>

2021-06-25 08:00:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 08:00:19 | [Mutex] waiting for: [received:nodes:59141141-229e-45a5-a5f2-cdc0d6a7fde9:localhost]

2021-06-25 08:00:19 | [Mutex] received everything.

2021-06-25 08:00:19 | [Mutex] isItemNotified: received:node:59141141-229e-45a5-a5f2-cdc0d6a7fde9:localhost:node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3:Node b06d83fc-9db2-4e17-9d7a-87e5889aaec3 :: true

createSubnodes 1.033s
2021-06-25 08:00:19 |

2021-06-25 08:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:19 | ------------------------------------

2021-06-25 08:00:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-384cf9b5-6f90-4be4-9f26-304ad253c0ab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 384cf9b5-6f90-4be4-9f26-304ad253c0ab</title></pubsub></data>

2021-06-25 08:00:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 08:00:20 | [Mutex] waiting for: [received:nodes:215ed3e7-15b2-4e18-91a6-4320719db621:localhost]

2021-06-25 08:00:20 | [Mutex] received everything.

2021-06-25 08:00:20 | [Mutex] isItemNotified: received:node:215ed3e7-15b2-4e18-91a6-4320719db621:localhost:node-384cf9b5-6f90-4be4-9f26-304ad253c0ab:Node 384cf9b5-6f90-4be4-9f26-304ad253c0ab :: true

deleteNodes 1.025s
2021-06-25 08:00:26 |

2021-06-25 08:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:26 | ------------------------------------

2021-06-25 08:00:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-384cf9b5-6f90-4be4-9f26-304ad253c0ab</node></data>

2021-06-25 08:00:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 08:00:27 | [Mutex] waiting for: [received:nodes:5d26348f-cf64-40bb-8a8b-b8d1c3022963:localhost]

2021-06-25 08:00:27 | [Mutex] received everything.

2021-06-25 08:00:27 | [Mutex] isItemNotified: received:node:5d26348f-cf64-40bb-8a8b-b8d1c3022963:localhost:node-384cf9b5-6f90-4be4-9f26-304ad253c0ab:Node 384cf9b5-6f90-4be4-9f26-304ad253c0ab :: false

deleteSubnodes 1.165s
2021-06-25 08:00:25 |

2021-06-25 08:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:25 | ------------------------------------

2021-06-25 08:00:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3</node></data>

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

2021-06-25 08:00:26 | [Mutex] waiting for: [received:nodes:cd33b91a-6231-4e70-9265-bfd94eeae22c:localhost]

2021-06-25 08:00:26 | [Mutex] received everything.

2021-06-25 08:00:26 | [Mutex] isItemNotified: received:node:cd33b91a-6231-4e70-9265-bfd94eeae22c:localhost:node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3:Node b06d83fc-9db2-4e17-9d7a-87e5889aaec3 :: false

2021-06-25 08:00:26 | [Mutex] waiting for: [received:nodes:c1571459-363e-4135-8bc3-b218a66fe868:localhost]

2021-06-25 08:00:26 | [Mutex] received everything.

2021-06-25 08:00:26 | [Mutex] isItemNotified: received:node:c1571459-363e-4135-8bc3-b218a66fe868:localhost:node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3:Node b06d83fc-9db2-4e17-9d7a-87e5889aaec3 :: false

publishItemsToNodes 0.264s
2021-06-25 08:00:23 |

2021-06-25 08:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:23 | ------------------------------------

2021-06-25 08:00:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3</node><item-id>item-af16ff4f-f144-49b8-aa77-93eff5108de6</item-id><entry><test>item-af16ff4f-f144-49b8-aa77-93eff5108de6</test></entry></data>

2021-06-25 08:00:23 | 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-af16ff4f-f144-49b8-aa77-93eff5108de6</value></item-id></result>

2021-06-25 08:00:23 | [Mutex] received everything.

2021-06-25 08:00:23 | [Mutex] isItemNotified: published:item:notifieditem-af16ff4f-f144-49b8-aa77-93eff5108de6:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2021-06-25 08:00:23 |

2021-06-25 08:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:23 | ------------------------------------

2021-06-25 08:00:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3</node><item-id>item-af16ff4f-f144-49b8-aa77-93eff5108de6</item-id></data>

2021-06-25 08:00:24 | 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-af16ff4f-f144-49b8-aa77-93eff5108de6</value></item-id></result>

2021-06-25 08:00:24 | [Mutex] received everything.

2021-06-25 08:00:24 | [Mutex] isItemNotified: retracted:item:notifieditem-af16ff4f-f144-49b8-aa77-93eff5108de6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.308s
2021-06-25 08:00:23 |

2021-06-25 08:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:23 | ------------------------------------

2021-06-25 08:00:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3</node><item-id>item-af16ff4f-f144-49b8-aa77-93eff5108de6</item-id></data>

2021-06-25 08:00:23 | 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-b06d83fc-9db2-4e17-9d7a-87e5889aaec3</value></node><item-id label="Item ID" type="text-single"><value>item-af16ff4f-f144-49b8-aa77-93eff5108de6</value></item-id><item label="Item" type="text-multi"><value><item id="item-af16ff4f-f144-49b8-aa77-93eff5108de6"><test>item-af16ff4f-f144-49b8-aa77-93eff5108de6</test></item></value></item></result>

2021-06-25 08:00:23 | [Mutex] notify: [retrieved:item:item-af16ff4f-f144-49b8-aa77-93eff5108de6:payload-matches:true:localhost]

2021-06-25 08:00:23 | [Mutex] received everything.

2021-06-25 08:00:23 | [Mutex] isItemNotified: retrieved:item:item-af16ff4f-f144-49b8-aa77-93eff5108de6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-06-25 08:00:23 |

2021-06-25 08:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:23 | ------------------------------------

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

2021-06-25 08:00:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3</value><value>test</value><value>node-384cf9b5-6f90-4be4-9f26-304ad253c0ab</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-06-25 08:00:23 |

2021-06-25 08:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:23 | ------------------------------------

2021-06-25 08:00:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3)</node-pattern></data>

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

subscribeNodes 1.168s
2021-06-25 08:00:22 |

2021-06-25 08:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:22 | ------------------------------------

2021-06-25 08:00:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.295s
2021-06-25 08:00:24 |

2021-06-25 08:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:00:24 | ------------------------------------

2021-06-25 08:00:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b06d83fc-9db2-4e17-9d7a-87e5889aaec3</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-25 08:00:24 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>