Generated by TestNG with ReportNG at 22:17 PDT on Monday 27 June 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.887s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-06-27 22:31:59 |

2022-06-27 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:31:59 | ------------------------------------

2022-06-27 22:31:59 | [Mutex] waiting for: [configured:node:node-e8951fbe-d284-4466-865e-5a6e0f15e41d:node-c421ee78-e18d-4b73-8470-724367057947]

2022-06-27 22:31:59 | [Mutex] received everything.

2022-06-27 22:31:59 | [Mutex] isItemNotified: configured:node:node-e8951fbe-d284-4466-865e-5a6e0f15e41d:node-c421ee78-e18d-4b73-8470-724367057947 :: true

2022-06-27 22:32:00 | [Mutex] waiting for: [received:nodes:ce2d84cc-2bcc-4253-996d-a5b529f4bcfb:localhost]

2022-06-27 22:32:00 | [Mutex] received everything.

2022-06-27 22:32:00 | [Mutex] isItemNotified: received:node:ce2d84cc-2bcc-4253-996d-a5b529f4bcfb:localhost:node-e8951fbe-d284-4466-865e-5a6e0f15e41d:Node e8951fbe-d284-4466-865e-5a6e0f15e41d :: true

2022-06-27 22:32:00 | [Mutex] waiting for: [received:nodes:1c38b6bb-e176-44c3-b22d-5c7219d38708:localhost]

2022-06-27 22:32:00 | [Mutex] received everything.

2022-06-27 22:32:00 | [Mutex] isItemNotified: received:node:1c38b6bb-e176-44c3-b22d-5c7219d38708:localhost:node-e8951fbe-d284-4466-865e-5a6e0f15e41d:Node e8951fbe-d284-4466-865e-5a6e0f15e41d :: false

createNodes 1.531s
2022-06-27 22:31:57 |

2022-06-27 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:31:57 | ------------------------------------

2022-06-27 22:31:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e8951fbe-d284-4466-865e-5a6e0f15e41d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e8951fbe-d284-4466-865e-5a6e0f15e41d</title></pubsub></data>

2022-06-27 22:31:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-27 22:31:58 | [Mutex] waiting for: [received:nodes:54cb2ed7-ba25-47fd-a6d1-16962697e6dd:localhost]

2022-06-27 22:31:58 | [Mutex] received everything.

2022-06-27 22:31:58 | [Mutex] isItemNotified: received:node:54cb2ed7-ba25-47fd-a6d1-16962697e6dd:localhost:node-e8951fbe-d284-4466-865e-5a6e0f15e41d:Node e8951fbe-d284-4466-865e-5a6e0f15e41d :: true

createSubnodes 1.025s
2022-06-27 22:31:58 |

2022-06-27 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:31:58 | ------------------------------------

2022-06-27 22:31:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c421ee78-e18d-4b73-8470-724367057947</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c421ee78-e18d-4b73-8470-724367057947</title></pubsub></data>

2022-06-27 22:31:58 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-27 22:31:59 | [Mutex] waiting for: [received:nodes:13d542b2-18f2-464f-b456-3c6d59b408c1:localhost]

2022-06-27 22:31:59 | [Mutex] received everything.

2022-06-27 22:31:59 | [Mutex] isItemNotified: received:node:13d542b2-18f2-464f-b456-3c6d59b408c1:localhost:node-c421ee78-e18d-4b73-8470-724367057947:Node c421ee78-e18d-4b73-8470-724367057947 :: true

deleteNodes 1.019s
2022-06-27 22:32:05 |

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

2022-06-27 22:32:05 | ------------------------------------

2022-06-27 22:32:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c421ee78-e18d-4b73-8470-724367057947</node></data>

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

2022-06-27 22:32:06 | [Mutex] waiting for: [received:nodes:62a17c20-b74b-404d-ae91-a450c383bb4d:localhost]

2022-06-27 22:32:06 | [Mutex] received everything.

2022-06-27 22:32:06 | [Mutex] isItemNotified: received:node:62a17c20-b74b-404d-ae91-a450c383bb4d:localhost:node-c421ee78-e18d-4b73-8470-724367057947:Node c421ee78-e18d-4b73-8470-724367057947 :: false

deleteSubnodes 1.135s
2022-06-27 22:32:03 |

2022-06-27 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:32:03 | ------------------------------------

2022-06-27 22:32:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e8951fbe-d284-4466-865e-5a6e0f15e41d</node></data>

2022-06-27 22:32:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-27 22:32:05 | [Mutex] waiting for: [received:nodes:7a137b17-a4b5-4bcb-8e7c-a5b34794cb22:localhost]

2022-06-27 22:32:05 | [Mutex] waiting for: [received:nodes:7a137b17-a4b5-4bcb-8e7c-a5b34794cb22:localhost]

2022-06-27 22:32:05 | [Mutex] received everything.

2022-06-27 22:32:05 | [Mutex] isItemNotified: received:node:7a137b17-a4b5-4bcb-8e7c-a5b34794cb22:localhost:node-e8951fbe-d284-4466-865e-5a6e0f15e41d:Node e8951fbe-d284-4466-865e-5a6e0f15e41d :: false

2022-06-27 22:32:05 | [Mutex] waiting for: [received:nodes:f77e9502-a437-428c-8b19-2a86de7d5c1f:localhost]

2022-06-27 22:32:05 | [Mutex] received everything.

2022-06-27 22:32:05 | [Mutex] isItemNotified: received:node:f77e9502-a437-428c-8b19-2a86de7d5c1f:localhost:node-e8951fbe-d284-4466-865e-5a6e0f15e41d:Node e8951fbe-d284-4466-865e-5a6e0f15e41d :: false

publishItemsToNodes 0.262s
2022-06-27 22:32:01 |

2022-06-27 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:32:01 | ------------------------------------

2022-06-27 22:32:01 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e8951fbe-d284-4466-865e-5a6e0f15e41d</node><item-id>item-9a126298-22a6-4f68-aab7-6f4d52d060dc</item-id><entry><test>item-9a126298-22a6-4f68-aab7-6f4d52d060dc</test></entry></data>

2022-06-27 22:32:02 | 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-9a126298-22a6-4f68-aab7-6f4d52d060dc</value></item-id></result>

2022-06-27 22:32:02 | [Mutex] received everything.

2022-06-27 22:32:02 | [Mutex] isItemNotified: published:item:notifieditem-9a126298-22a6-4f68-aab7-6f4d52d060dc:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2022-06-27 22:32:02 |

2022-06-27 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:32:02 | ------------------------------------

2022-06-27 22:32:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e8951fbe-d284-4466-865e-5a6e0f15e41d</node><item-id>item-9a126298-22a6-4f68-aab7-6f4d52d060dc</item-id></data>

2022-06-27 22:32:02 | 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-9a126298-22a6-4f68-aab7-6f4d52d060dc</value></item-id></result>

2022-06-27 22:32:02 | [Mutex] received everything.

2022-06-27 22:32:02 | [Mutex] isItemNotified: retracted:item:notifieditem-9a126298-22a6-4f68-aab7-6f4d52d060dc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.247s
2022-06-27 22:32:02 |

2022-06-27 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:32:02 | ------------------------------------

2022-06-27 22:32:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e8951fbe-d284-4466-865e-5a6e0f15e41d</node><item-id>item-9a126298-22a6-4f68-aab7-6f4d52d060dc</item-id></data>

2022-06-27 22:32:02 | 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-e8951fbe-d284-4466-865e-5a6e0f15e41d</value></node><item-id type="text-single" label="Item ID"><value>item-9a126298-22a6-4f68-aab7-6f4d52d060dc</value></item-id><item type="text-multi" label="Item"><value><item id="item-9a126298-22a6-4f68-aab7-6f4d52d060dc"><test>item-9a126298-22a6-4f68-aab7-6f4d52d060dc</test></item></value></item></result>

2022-06-27 22:32:02 | [Mutex] notify: [retrieved:item:item-9a126298-22a6-4f68-aab7-6f4d52d060dc:payload-matches:true:localhost]

2022-06-27 22:32:02 | [Mutex] received everything.

2022-06-27 22:32:02 | [Mutex] isItemNotified: retrieved:item:item-9a126298-22a6-4f68-aab7-6f4d52d060dc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-06-27 22:32:02 |

2022-06-27 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:32:02 | ------------------------------------

2022-06-27 22:32:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-27 22:32:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-c421ee78-e18d-4b73-8470-724367057947</value><value>test</value><value>node-e8951fbe-d284-4466-865e-5a6e0f15e41d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-27 22:32:02 |

2022-06-27 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:32:02 | ------------------------------------

2022-06-27 22:32:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e8951fbe-d284-4466-865e-5a6e0f15e41d)</node-pattern></data>

2022-06-27 22:32:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.149s
2022-06-27 22:32:00 |

2022-06-27 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:32:00 | ------------------------------------

2022-06-27 22:32:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e8951fbe-d284-4466-865e-5a6e0f15e41d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.291s
2022-06-27 22:32:02 |

2022-06-27 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:32:02 | ------------------------------------

2022-06-27 22:32:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e8951fbe-d284-4466-865e-5a6e0f15e41d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-27 22:32:02 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>