Generated by TestNG with ReportNG at 22:50 PDT on Thursday 30 June 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.493s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2022-06-30 23:11:37 |

2022-06-30 23:11:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:37 | ------------------------------------

2022-06-30 23:11:37 | [Mutex] waiting for: [configured:node:node-5d31c31c-e14f-4eb8-9b4b-330323ecd278:node-97f96270-763f-4924-bdea-2c8b2ba4d8bf]

2022-06-30 23:11:37 | [Mutex] received everything.

2022-06-30 23:11:37 | [Mutex] isItemNotified: configured:node:node-5d31c31c-e14f-4eb8-9b4b-330323ecd278:node-97f96270-763f-4924-bdea-2c8b2ba4d8bf :: true

2022-06-30 23:11:38 | [Mutex] waiting for: [received:nodes:66e5ba28-efde-4941-a1c3-26c499750c2c:localhost]

2022-06-30 23:11:38 | [Mutex] received everything.

2022-06-30 23:11:38 | [Mutex] isItemNotified: received:node:66e5ba28-efde-4941-a1c3-26c499750c2c:localhost:node-5d31c31c-e14f-4eb8-9b4b-330323ecd278:Node 5d31c31c-e14f-4eb8-9b4b-330323ecd278 :: true

2022-06-30 23:11:38 | [Mutex] waiting for: [received:nodes:13d9f683-8816-4fe8-ac29-77ee14b73976:localhost]

2022-06-30 23:11:38 | [Mutex] waiting for: [received:nodes:13d9f683-8816-4fe8-ac29-77ee14b73976:localhost]

2022-06-30 23:11:38 | [Mutex] waiting for: [received:nodes:13d9f683-8816-4fe8-ac29-77ee14b73976:localhost]

2022-06-30 23:11:38 | [Mutex] waiting for: [received:nodes:13d9f683-8816-4fe8-ac29-77ee14b73976:localhost]

2022-06-30 23:11:38 | [Mutex] received everything.

2022-06-30 23:11:38 | [Mutex] isItemNotified: received:node:13d9f683-8816-4fe8-ac29-77ee14b73976:localhost:node-5d31c31c-e14f-4eb8-9b4b-330323ecd278:Node 5d31c31c-e14f-4eb8-9b4b-330323ecd278 :: false

createNodes 1.461s
2022-06-30 23:11:35 |

2022-06-30 23:11:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:35 | ------------------------------------

2022-06-30 23:11:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5d31c31c-e14f-4eb8-9b4b-330323ecd278</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5d31c31c-e14f-4eb8-9b4b-330323ecd278</title></pubsub></data>

2022-06-30 23:11:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-30 23:11:36 | [Mutex] waiting for: [received:nodes:5222692b-4146-41ed-9035-8bb67e4b5423:localhost]

2022-06-30 23:11:36 | [Mutex] received everything.

2022-06-30 23:11:36 | [Mutex] isItemNotified: received:node:5222692b-4146-41ed-9035-8bb67e4b5423:localhost:node-5d31c31c-e14f-4eb8-9b4b-330323ecd278:Node 5d31c31c-e14f-4eb8-9b4b-330323ecd278 :: true

createSubnodes 1.022s
2022-06-30 23:11:36 |

2022-06-30 23:11:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:36 | ------------------------------------

2022-06-30 23:11:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-97f96270-763f-4924-bdea-2c8b2ba4d8bf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 97f96270-763f-4924-bdea-2c8b2ba4d8bf</title></pubsub></data>

2022-06-30 23:11:36 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-30 23:11:37 | [Mutex] waiting for: [received:nodes:7f0db2ec-7a6f-4f46-b9c5-0469136069a3:localhost]

2022-06-30 23:11:37 | [Mutex] received everything.

2022-06-30 23:11:37 | [Mutex] isItemNotified: received:node:7f0db2ec-7a6f-4f46-b9c5-0469136069a3:localhost:node-97f96270-763f-4924-bdea-2c8b2ba4d8bf:Node 97f96270-763f-4924-bdea-2c8b2ba4d8bf :: true

deleteNodes 1.022s
2022-06-30 23:11:43 |

2022-06-30 23:11:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:43 | ------------------------------------

2022-06-30 23:11:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-97f96270-763f-4924-bdea-2c8b2ba4d8bf</node></data>

2022-06-30 23:11:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-30 23:11:44 | [Mutex] waiting for: [received:nodes:c8654575-c6ef-4191-9a76-b589270292c5:localhost]

2022-06-30 23:11:44 | [Mutex] waiting for: [received:nodes:c8654575-c6ef-4191-9a76-b589270292c5:localhost]

2022-06-30 23:11:44 | [Mutex] waiting for: [received:nodes:c8654575-c6ef-4191-9a76-b589270292c5:localhost]

2022-06-30 23:11:44 | [Mutex] received everything.

2022-06-30 23:11:44 | [Mutex] isItemNotified: received:node:c8654575-c6ef-4191-9a76-b589270292c5:localhost:node-97f96270-763f-4924-bdea-2c8b2ba4d8bf:Node 97f96270-763f-4924-bdea-2c8b2ba4d8bf :: false

deleteSubnodes 1.128s
2022-06-30 23:11:42 |

2022-06-30 23:11:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:42 | ------------------------------------

2022-06-30 23:11:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5d31c31c-e14f-4eb8-9b4b-330323ecd278</node></data>

2022-06-30 23:11:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-30 23:11:43 | [Mutex] waiting for: [received:nodes:d94fcbd4-980e-4990-9afa-27a5808298e6:localhost]

2022-06-30 23:11:43 | [Mutex] received everything.

2022-06-30 23:11:43 | [Mutex] isItemNotified: received:node:d94fcbd4-980e-4990-9afa-27a5808298e6:localhost:node-5d31c31c-e14f-4eb8-9b4b-330323ecd278:Node 5d31c31c-e14f-4eb8-9b4b-330323ecd278 :: false

2022-06-30 23:11:43 | [Mutex] waiting for: [received:nodes:6dcd58bc-9ae2-4bde-9564-1d57cba395fd:localhost]

2022-06-30 23:11:43 | [Mutex] received everything.

2022-06-30 23:11:43 | [Mutex] isItemNotified: received:node:6dcd58bc-9ae2-4bde-9564-1d57cba395fd:localhost:node-5d31c31c-e14f-4eb8-9b4b-330323ecd278:Node 5d31c31c-e14f-4eb8-9b4b-330323ecd278 :: false

publishItemsToNodes 0.221s
2022-06-30 23:11:40 |

2022-06-30 23:11:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:40 | ------------------------------------

2022-06-30 23:11:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5d31c31c-e14f-4eb8-9b4b-330323ecd278</node><item-id>item-7b1419f8-6c42-4b45-bdfb-2950196044d2</item-id><entry><test>item-7b1419f8-6c42-4b45-bdfb-2950196044d2</test></entry></data>

2022-06-30 23:11:40 | 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-7b1419f8-6c42-4b45-bdfb-2950196044d2</value></item-id></result>

2022-06-30 23:11:40 | [Mutex] waiting for: [published:item:notifieditem-7b1419f8-6c42-4b45-bdfb-2950196044d2:admin@test-domain.com]

2022-06-30 23:11:40 | [Mutex] received everything.

2022-06-30 23:11:40 | [Mutex] isItemNotified: published:item:notifieditem-7b1419f8-6c42-4b45-bdfb-2950196044d2:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2022-06-30 23:11:40 |

2022-06-30 23:11:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:40 | ------------------------------------

2022-06-30 23:11:40 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5d31c31c-e14f-4eb8-9b4b-330323ecd278</node><item-id>item-7b1419f8-6c42-4b45-bdfb-2950196044d2</item-id></data>

2022-06-30 23:11:40 | 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-7b1419f8-6c42-4b45-bdfb-2950196044d2</value></item-id></result>

2022-06-30 23:11:40 | [Mutex] received everything.

2022-06-30 23:11:40 | [Mutex] isItemNotified: retracted:item:notifieditem-7b1419f8-6c42-4b45-bdfb-2950196044d2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.243s
2022-06-30 23:11:40 |

2022-06-30 23:11:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:40 | ------------------------------------

2022-06-30 23:11:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5d31c31c-e14f-4eb8-9b4b-330323ecd278</node><item-id>item-7b1419f8-6c42-4b45-bdfb-2950196044d2</item-id></data>

2022-06-30 23:11:40 | 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-5d31c31c-e14f-4eb8-9b4b-330323ecd278</value></node><item-id type="text-single" label="Item ID"><value>item-7b1419f8-6c42-4b45-bdfb-2950196044d2</value></item-id><item type="text-multi" label="Item"><value><item id="item-7b1419f8-6c42-4b45-bdfb-2950196044d2"><test>item-7b1419f8-6c42-4b45-bdfb-2950196044d2</test></item></value></item></result>

2022-06-30 23:11:40 | [Mutex] notify: [retrieved:item:item-7b1419f8-6c42-4b45-bdfb-2950196044d2:payload-matches:true:localhost]

2022-06-30 23:11:40 | [Mutex] received everything.

2022-06-30 23:11:40 | [Mutex] isItemNotified: retrieved:item:item-7b1419f8-6c42-4b45-bdfb-2950196044d2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-30 23:11:40 |

2022-06-30 23:11:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:40 | ------------------------------------

2022-06-30 23:11:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-30 23:11:40 | 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-97f96270-763f-4924-bdea-2c8b2ba4d8bf</value><value>node-5d31c31c-e14f-4eb8-9b4b-330323ecd278</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-30 23:11:40 |

2022-06-30 23:11:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:40 | ------------------------------------

2022-06-30 23:11:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5d31c31c-e14f-4eb8-9b4b-330323ecd278)</node-pattern></data>

2022-06-30 23:11:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.145s
2022-06-30 23:11:38 |

2022-06-30 23:11:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:38 | ------------------------------------

2022-06-30 23:11:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5d31c31c-e14f-4eb8-9b4b-330323ecd278</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-30 23:11:39 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.131s
2022-06-30 23:11:40 |

2022-06-30 23:11:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:11:40 | ------------------------------------

2022-06-30 23:11:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5d31c31c-e14f-4eb8-9b4b-330323ecd278</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-30 23:11:41 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>