Generated by TestNG with ReportNG at 22:13 PDT on Friday 25 September 2020
root@0c1cdac2218e / 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 : 9.695s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2020-09-25 22:30:23 |

2020-09-25 22:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:23 | ------------------------------------

2020-09-25 22:30:23 | [Mutex] waiting for: [configured:node:node-3d917e9b-9d97-49de-8997-1e64738845c2:node-842073a6-ee49-48d1-954a-96bcb8bedc51]

2020-09-25 22:30:24 | [Mutex] received everything.

2020-09-25 22:30:24 | [Mutex] isItemNotified: configured:node:node-3d917e9b-9d97-49de-8997-1e64738845c2:node-842073a6-ee49-48d1-954a-96bcb8bedc51 :: true

2020-09-25 22:30:25 | [Mutex] waiting for: [received:nodes:eaf75bce-a77e-4995-94f2-9f0f9f69a65c:localhost]

2020-09-25 22:30:25 | [Mutex] received everything.

2020-09-25 22:30:25 | [Mutex] isItemNotified: received:node:eaf75bce-a77e-4995-94f2-9f0f9f69a65c:localhost:node-3d917e9b-9d97-49de-8997-1e64738845c2:Node 3d917e9b-9d97-49de-8997-1e64738845c2 :: true

2020-09-25 22:30:25 | [Mutex] waiting for: [received:nodes:5fc62c2a-83f8-4a51-9c88-9a88b62cfae4:localhost]

2020-09-25 22:30:25 | [Mutex] received everything.

2020-09-25 22:30:25 | [Mutex] isItemNotified: received:node:5fc62c2a-83f8-4a51-9c88-9a88b62cfae4:localhost:node-3d917e9b-9d97-49de-8997-1e64738845c2:Node 3d917e9b-9d97-49de-8997-1e64738845c2 :: false

createNodes 1.421s
2020-09-25 22:30:21 |

2020-09-25 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:21 | ------------------------------------

2020-09-25 22:30:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3d917e9b-9d97-49de-8997-1e64738845c2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3d917e9b-9d97-49de-8997-1e64738845c2</title></pubsub></data>

2020-09-25 22:30:21 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-25 22:30:22 | [Mutex] waiting for: [received:nodes:2fd36589-96ec-4211-a963-44529e02da28:localhost]

2020-09-25 22:30:22 | [Mutex] received everything.

2020-09-25 22:30:22 | [Mutex] isItemNotified: received:node:2fd36589-96ec-4211-a963-44529e02da28:localhost:node-3d917e9b-9d97-49de-8997-1e64738845c2:Node 3d917e9b-9d97-49de-8997-1e64738845c2 :: true

createSubnodes 1.027s
2020-09-25 22:30:22 |

2020-09-25 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:22 | ------------------------------------

2020-09-25 22:30:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-842073a6-ee49-48d1-954a-96bcb8bedc51</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 842073a6-ee49-48d1-954a-96bcb8bedc51</title></pubsub></data>

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

2020-09-25 22:30:23 | [Mutex] waiting for: [received:nodes:a00b6801-0908-4a68-8eb6-40e3b7669c71:localhost]

2020-09-25 22:30:23 | [Mutex] received everything.

2020-09-25 22:30:23 | [Mutex] isItemNotified: received:node:a00b6801-0908-4a68-8eb6-40e3b7669c71:localhost:node-842073a6-ee49-48d1-954a-96bcb8bedc51:Node 842073a6-ee49-48d1-954a-96bcb8bedc51 :: true

deleteNodes 1.015s
2020-09-25 22:30:29 |

2020-09-25 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:29 | ------------------------------------

2020-09-25 22:30:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-842073a6-ee49-48d1-954a-96bcb8bedc51</node></data>

2020-09-25 22:30:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-25 22:30:30 | [Mutex] waiting for: [received:nodes:da3e6750-5ba0-490c-922c-ea637dec1e69:localhost]

2020-09-25 22:30:30 | [Mutex] waiting for: [received:nodes:da3e6750-5ba0-490c-922c-ea637dec1e69:localhost]

2020-09-25 22:30:30 | [Mutex] received everything.

2020-09-25 22:30:30 | [Mutex] isItemNotified: received:node:da3e6750-5ba0-490c-922c-ea637dec1e69:localhost:node-842073a6-ee49-48d1-954a-96bcb8bedc51:Node 842073a6-ee49-48d1-954a-96bcb8bedc51 :: false

deleteSubnodes 1.122s
2020-09-25 22:30:28 |

2020-09-25 22:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:28 | ------------------------------------

2020-09-25 22:30:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3d917e9b-9d97-49de-8997-1e64738845c2</node></data>

2020-09-25 22:30:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-25 22:30:29 | [Mutex] waiting for: [received:nodes:cbe71d98-65ae-4dfb-8a96-93fc191cfb02:localhost]

2020-09-25 22:30:29 | [Mutex] waiting for: [received:nodes:cbe71d98-65ae-4dfb-8a96-93fc191cfb02:localhost]

2020-09-25 22:30:29 | [Mutex] received everything.

2020-09-25 22:30:29 | [Mutex] isItemNotified: received:node:cbe71d98-65ae-4dfb-8a96-93fc191cfb02:localhost:node-3d917e9b-9d97-49de-8997-1e64738845c2:Node 3d917e9b-9d97-49de-8997-1e64738845c2 :: false

2020-09-25 22:30:29 | [Mutex] waiting for: [received:nodes:e0541c6a-b5b4-4e99-a611-83d4cc93a46f:localhost]

2020-09-25 22:30:29 | [Mutex] received everything.

2020-09-25 22:30:29 | [Mutex] isItemNotified: received:node:e0541c6a-b5b4-4e99-a611-83d4cc93a46f:localhost:node-3d917e9b-9d97-49de-8997-1e64738845c2:Node 3d917e9b-9d97-49de-8997-1e64738845c2 :: false

publishItemsToNodes 0.219s
2020-09-25 22:30:26 |

2020-09-25 22:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:26 | ------------------------------------

2020-09-25 22:30:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3d917e9b-9d97-49de-8997-1e64738845c2</node><item-id>item-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d</item-id><entry><test>item-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d</test></entry></data>

2020-09-25 22:30:26 | 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-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d</value></item-id></result>

2020-09-25 22:30:26 | [Mutex] waiting for: [published:item:notifieditem-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d:admin@test-domain.com]

2020-09-25 22:30:26 | [Mutex] received everything.

2020-09-25 22:30:26 | [Mutex] isItemNotified: published:item:notifieditem-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d:admin@test-domain.com :: true

retractItemsFromNodes 0.240s
2020-09-25 22:30:26 |

2020-09-25 22:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:26 | ------------------------------------

2020-09-25 22:30:26 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3d917e9b-9d97-49de-8997-1e64738845c2</node><item-id>item-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d</item-id></data>

2020-09-25 22:30: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-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d</value></item-id></result>

2020-09-25 22:30:26 | [Mutex] received everything.

2020-09-25 22:30:26 | [Mutex] isItemNotified: retracted:item:notifieditem-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.183s
2020-09-25 22:30:26 |

2020-09-25 22:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:26 | ------------------------------------

2020-09-25 22:30:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3d917e9b-9d97-49de-8997-1e64738845c2</node><item-id>item-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d</item-id></data>

2020-09-25 22:30:26 | 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-3d917e9b-9d97-49de-8997-1e64738845c2</value></node><item-id type="text-single" label="Item ID"><value>item-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d</value></item-id><item type="text-multi" label="Item"><value><item id="item-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d"><test>item-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d</test></item></value></item></result>

2020-09-25 22:30:26 | [Mutex] notify: [retrieved:item:item-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d:payload-matches:true:localhost]

2020-09-25 22:30:26 | [Mutex] received everything.

2020-09-25 22:30:26 | [Mutex] isItemNotified: retrieved:item:item-293ed0dd-ee7a-40d3-9fcc-65a72bcddb2d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-25 22:30:26 |

2020-09-25 22:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:26 | ------------------------------------

2020-09-25 22:30:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-25 22:30:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-3d917e9b-9d97-49de-8997-1e64738845c2</value><value>test</value><value>node-842073a6-ee49-48d1-954a-96bcb8bedc51</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-25 22:30:26 |

2020-09-25 22:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:26 | ------------------------------------

2020-09-25 22:30:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3d917e9b-9d97-49de-8997-1e64738845c2)</node-pattern></data>

2020-09-25 22:30:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.141s
2020-09-25 22:30:25 |

2020-09-25 22:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:25 | ------------------------------------

2020-09-25 22:30:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3d917e9b-9d97-49de-8997-1e64738845c2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.212s
2020-09-25 22:30:26 |

2020-09-25 22:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:30:26 | ------------------------------------

2020-09-25 22:30:26 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3d917e9b-9d97-49de-8997-1e64738845c2</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-25 22:30:27 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>