Generated by TestNG with ReportNG at 22:25 PDT on Tuesday 17 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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.470s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2022-05-17 22:40:05 |

2022-05-17 22:40:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:05 | ------------------------------------

2022-05-17 22:40:05 | [Mutex] waiting for: [configured:node:node-58cd860a-6bd8-4f12-bd30-b1267f86ac27:node-b545c9b5-87ec-49ec-9911-ef6c04968fd2]

2022-05-17 22:40:05 | [Mutex] received everything.

2022-05-17 22:40:05 | [Mutex] isItemNotified: configured:node:node-58cd860a-6bd8-4f12-bd30-b1267f86ac27:node-b545c9b5-87ec-49ec-9911-ef6c04968fd2 :: true

2022-05-17 22:40:06 | [Mutex] waiting for: [received:nodes:de2a5350-100f-4bbf-afdc-a8b6ce67ee5c:localhost]

2022-05-17 22:40:06 | [Mutex] received everything.

2022-05-17 22:40:06 | [Mutex] isItemNotified: received:node:de2a5350-100f-4bbf-afdc-a8b6ce67ee5c:localhost:node-58cd860a-6bd8-4f12-bd30-b1267f86ac27:Node 58cd860a-6bd8-4f12-bd30-b1267f86ac27 :: true

2022-05-17 22:40:06 | [Mutex] waiting for: [received:nodes:bd257e2b-b36a-4442-9095-8ac94fa5dae3:localhost]

2022-05-17 22:40:06 | [Mutex] received everything.

2022-05-17 22:40:06 | [Mutex] isItemNotified: received:node:bd257e2b-b36a-4442-9095-8ac94fa5dae3:localhost:node-58cd860a-6bd8-4f12-bd30-b1267f86ac27:Node 58cd860a-6bd8-4f12-bd30-b1267f86ac27 :: false

createNodes 1.434s
2022-05-17 22:40:03 |

2022-05-17 22:40:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:03 | ------------------------------------

2022-05-17 22:40:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-58cd860a-6bd8-4f12-bd30-b1267f86ac27</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 58cd860a-6bd8-4f12-bd30-b1267f86ac27</title></pubsub></data>

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

2022-05-17 22:40:04 | [Mutex] waiting for: [received:nodes:ee30ac35-9057-4641-99b3-2c52112331b5:localhost]

2022-05-17 22:40:04 | [Mutex] waiting for: [received:nodes:ee30ac35-9057-4641-99b3-2c52112331b5:localhost]

2022-05-17 22:40:04 | [Mutex] received everything.

2022-05-17 22:40:04 | [Mutex] isItemNotified: received:node:ee30ac35-9057-4641-99b3-2c52112331b5:localhost:node-58cd860a-6bd8-4f12-bd30-b1267f86ac27:Node 58cd860a-6bd8-4f12-bd30-b1267f86ac27 :: true

createSubnodes 1.033s
2022-05-17 22:40:04 |

2022-05-17 22:40:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:04 | ------------------------------------

2022-05-17 22:40:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b545c9b5-87ec-49ec-9911-ef6c04968fd2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b545c9b5-87ec-49ec-9911-ef6c04968fd2</title></pubsub></data>

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

2022-05-17 22:40:05 | [Mutex] waiting for: [received:nodes:8a747528-36aa-413b-ab30-dc9b11bc671d:localhost]

2022-05-17 22:40:05 | [Mutex] received everything.

2022-05-17 22:40:05 | [Mutex] isItemNotified: received:node:8a747528-36aa-413b-ab30-dc9b11bc671d:localhost:node-b545c9b5-87ec-49ec-9911-ef6c04968fd2:Node b545c9b5-87ec-49ec-9911-ef6c04968fd2 :: true

deleteNodes 1.024s
2022-05-17 22:40:11 |

2022-05-17 22:40:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:11 | ------------------------------------

2022-05-17 22:40:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b545c9b5-87ec-49ec-9911-ef6c04968fd2</node></data>

2022-05-17 22:40:11 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-17 22:40:12 | [Mutex] waiting for: [received:nodes:36b06a82-65de-4b77-8823-a3d16a3ba950:localhost]

2022-05-17 22:40:12 | [Mutex] received everything.

2022-05-17 22:40:12 | [Mutex] isItemNotified: received:node:36b06a82-65de-4b77-8823-a3d16a3ba950:localhost:node-b545c9b5-87ec-49ec-9911-ef6c04968fd2:Node b545c9b5-87ec-49ec-9911-ef6c04968fd2 :: false

deleteSubnodes 1.150s
2022-05-17 22:40:09 |

2022-05-17 22:40:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:09 | ------------------------------------

2022-05-17 22:40:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-58cd860a-6bd8-4f12-bd30-b1267f86ac27</node></data>

2022-05-17 22:40:10 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-17 22:40:11 | [Mutex] waiting for: [received:nodes:6bd1eb0c-8902-45e4-8f08-3c09015d0132:localhost]

2022-05-17 22:40:11 | [Mutex] received everything.

2022-05-17 22:40:11 | [Mutex] isItemNotified: received:node:6bd1eb0c-8902-45e4-8f08-3c09015d0132:localhost:node-58cd860a-6bd8-4f12-bd30-b1267f86ac27:Node 58cd860a-6bd8-4f12-bd30-b1267f86ac27 :: false

2022-05-17 22:40:11 | [Mutex] waiting for: [received:nodes:10533fb8-d14f-4447-8665-f6c595517c19:localhost]

2022-05-17 22:40:11 | [Mutex] received everything.

2022-05-17 22:40:11 | [Mutex] isItemNotified: received:node:10533fb8-d14f-4447-8665-f6c595517c19:localhost:node-58cd860a-6bd8-4f12-bd30-b1267f86ac27:Node 58cd860a-6bd8-4f12-bd30-b1267f86ac27 :: false

publishItemsToNodes 0.153s
2022-05-17 22:40:07 |

2022-05-17 22:40:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:07 | ------------------------------------

2022-05-17 22:40:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-58cd860a-6bd8-4f12-bd30-b1267f86ac27</node><item-id>item-e8de23e7-c011-4e0f-857d-d8de57f6c505</item-id><entry><test>item-e8de23e7-c011-4e0f-857d-d8de57f6c505</test></entry></data>

2022-05-17 22:40:08 | 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-e8de23e7-c011-4e0f-857d-d8de57f6c505</value></item-id></result>

2022-05-17 22:40:08 | [Mutex] received everything.

2022-05-17 22:40:08 | [Mutex] isItemNotified: published:item:notifieditem-e8de23e7-c011-4e0f-857d-d8de57f6c505:admin@test-domain.com :: true

retractItemsFromNodes 0.297s
2022-05-17 22:40:08 |

2022-05-17 22:40:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:08 | ------------------------------------

2022-05-17 22:40:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-58cd860a-6bd8-4f12-bd30-b1267f86ac27</node><item-id>item-e8de23e7-c011-4e0f-857d-d8de57f6c505</item-id></data>

2022-05-17 22:40:08 | 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-e8de23e7-c011-4e0f-857d-d8de57f6c505</value></item-id></result>

2022-05-17 22:40:08 | [Mutex] waiting for: [retracted:item:notifieditem-e8de23e7-c011-4e0f-857d-d8de57f6c505:admin@test-domain.com]

2022-05-17 22:40:08 | [Mutex] received everything.

2022-05-17 22:40:08 | [Mutex] isItemNotified: retracted:item:notifieditem-e8de23e7-c011-4e0f-857d-d8de57f6c505:admin@test-domain.com :: true

retrieveItemsFromNodes 0.218s
2022-05-17 22:40:08 |

2022-05-17 22:40:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:08 | ------------------------------------

2022-05-17 22:40:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-58cd860a-6bd8-4f12-bd30-b1267f86ac27</node><item-id>item-e8de23e7-c011-4e0f-857d-d8de57f6c505</item-id></data>

2022-05-17 22:40:08 | 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-58cd860a-6bd8-4f12-bd30-b1267f86ac27</value></node><item-id type="text-single" label="Item ID"><value>item-e8de23e7-c011-4e0f-857d-d8de57f6c505</value></item-id><item type="text-multi" label="Item"><value><item id="item-e8de23e7-c011-4e0f-857d-d8de57f6c505"><test>item-e8de23e7-c011-4e0f-857d-d8de57f6c505</test></item></value></item></result>

2022-05-17 22:40:08 | [Mutex] notify: [retrieved:item:item-e8de23e7-c011-4e0f-857d-d8de57f6c505:payload-matches:true:localhost]

2022-05-17 22:40:08 | [Mutex] received everything.

2022-05-17 22:40:08 | [Mutex] isItemNotified: retrieved:item:item-e8de23e7-c011-4e0f-857d-d8de57f6c505:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-17 22:40:08 |

2022-05-17 22:40:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:08 | ------------------------------------

2022-05-17 22:40:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-17 22:40:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-58cd860a-6bd8-4f12-bd30-b1267f86ac27</value><value>node-b545c9b5-87ec-49ec-9911-ef6c04968fd2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-05-17 22:40:08 |

2022-05-17 22:40:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:08 | ------------------------------------

2022-05-17 22:40:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-58cd860a-6bd8-4f12-bd30-b1267f86ac27)</node-pattern></data>

2022-05-17 22:40:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.122s
2022-05-17 22:40:06 |

2022-05-17 22:40:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:06 | ------------------------------------

2022-05-17 22:40:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-58cd860a-6bd8-4f12-bd30-b1267f86ac27</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.171s
2022-05-17 22:40:08 |

2022-05-17 22:40:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-17 22:40:08 | ------------------------------------

2022-05-17 22:40:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-58cd860a-6bd8-4f12-bd30-b1267f86ac27</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-17 22:40:08 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>