Generated by TestNG with ReportNG at 22:46 PDT on Tuesday 23 August 2022
root@7c41cec37518 / 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.505s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-08-23 23:01:43 |

2022-08-23 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:43 | ------------------------------------

2022-08-23 23:01:43 | [Mutex] waiting for: [configured:node:node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e:node-bda61320-3d1d-4248-9026-9d696ed526f3]

2022-08-23 23:01:43 | [Mutex] received everything.

2022-08-23 23:01:43 | [Mutex] isItemNotified: configured:node:node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e:node-bda61320-3d1d-4248-9026-9d696ed526f3 :: true

2022-08-23 23:01:44 | [Mutex] waiting for: [received:nodes:d618b931-75b4-4561-af5a-874109775304:localhost]

2022-08-23 23:01:44 | [Mutex] received everything.

2022-08-23 23:01:44 | [Mutex] isItemNotified: received:node:d618b931-75b4-4561-af5a-874109775304:localhost:node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e:Node 70b1983f-2d0f-4720-8064-8cab1a1c8c6e :: true

2022-08-23 23:01:44 | [Mutex] waiting for: [received:nodes:493bd302-9e1b-40bb-acf4-5eec131fcfce:localhost]

2022-08-23 23:01:44 | [Mutex] received everything.

2022-08-23 23:01:44 | [Mutex] isItemNotified: received:node:493bd302-9e1b-40bb-acf4-5eec131fcfce:localhost:node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e:Node 70b1983f-2d0f-4720-8064-8cab1a1c8c6e :: false

createNodes 1.496s
2022-08-23 23:01:40 |

2022-08-23 23:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:40 | ------------------------------------

2022-08-23 23:01:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 70b1983f-2d0f-4720-8064-8cab1a1c8c6e</title></pubsub></data>

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

2022-08-23 23:01:42 | [Mutex] waiting for: [received:nodes:b180aead-a17c-42b5-9e85-635adfa18722:localhost]

2022-08-23 23:01:42 | [Mutex] received everything.

2022-08-23 23:01:42 | [Mutex] isItemNotified: received:node:b180aead-a17c-42b5-9e85-635adfa18722:localhost:node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e:Node 70b1983f-2d0f-4720-8064-8cab1a1c8c6e :: true

createSubnodes 1.022s
2022-08-23 23:01:42 |

2022-08-23 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:42 | ------------------------------------

2022-08-23 23:01:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bda61320-3d1d-4248-9026-9d696ed526f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bda61320-3d1d-4248-9026-9d696ed526f3</title></pubsub></data>

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

2022-08-23 23:01:43 | [Mutex] waiting for: [received:nodes:00477e18-58b5-42c1-874c-1eef75076aa1:localhost]

2022-08-23 23:01:43 | [Mutex] received everything.

2022-08-23 23:01:43 | [Mutex] isItemNotified: received:node:00477e18-58b5-42c1-874c-1eef75076aa1:localhost:node-bda61320-3d1d-4248-9026-9d696ed526f3:Node bda61320-3d1d-4248-9026-9d696ed526f3 :: true

deleteNodes 1.017s
2022-08-23 23:01:48 |

2022-08-23 23:01:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:48 | ------------------------------------

2022-08-23 23:01:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bda61320-3d1d-4248-9026-9d696ed526f3</node></data>

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

2022-08-23 23:01:49 | [Mutex] waiting for: [received:nodes:be95fd7d-e9ce-4eed-9415-463c5a118955:localhost]

2022-08-23 23:01:49 | [Mutex] received everything.

2022-08-23 23:01:49 | [Mutex] isItemNotified: received:node:be95fd7d-e9ce-4eed-9415-463c5a118955:localhost:node-bda61320-3d1d-4248-9026-9d696ed526f3:Node bda61320-3d1d-4248-9026-9d696ed526f3 :: false

deleteSubnodes 1.175s
2022-08-23 23:01:47 |

2022-08-23 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:47 | ------------------------------------

2022-08-23 23:01:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e</node></data>

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

2022-08-23 23:01:48 | [Mutex] waiting for: [received:nodes:8438e6a3-1137-49ef-9cee-06232727b328:localhost]

2022-08-23 23:01:48 | [Mutex] waiting for: [received:nodes:8438e6a3-1137-49ef-9cee-06232727b328:localhost]

2022-08-23 23:01:48 | [Mutex] received everything.

2022-08-23 23:01:48 | [Mutex] isItemNotified: received:node:8438e6a3-1137-49ef-9cee-06232727b328:localhost:node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e:Node 70b1983f-2d0f-4720-8064-8cab1a1c8c6e :: false

2022-08-23 23:01:48 | [Mutex] waiting for: [received:nodes:5bdda872-f992-4b8d-ab6f-3dff977a2766:localhost]

2022-08-23 23:01:48 | [Mutex] received everything.

2022-08-23 23:01:48 | [Mutex] isItemNotified: received:node:5bdda872-f992-4b8d-ab6f-3dff977a2766:localhost:node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e:Node 70b1983f-2d0f-4720-8064-8cab1a1c8c6e :: false

publishItemsToNodes 0.174s
2022-08-23 23:01:45 |

2022-08-23 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:45 | ------------------------------------

2022-08-23 23:01:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e</node><item-id>item-8136bb7f-2a27-42ad-9c4d-502d32916679</item-id><entry><test>item-8136bb7f-2a27-42ad-9c4d-502d32916679</test></entry></data>

2022-08-23 23:01:45 | 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-8136bb7f-2a27-42ad-9c4d-502d32916679</value></item-id></result>

2022-08-23 23:01:45 | [Mutex] waiting for: [published:item:notifieditem-8136bb7f-2a27-42ad-9c4d-502d32916679:admin@test-domain.com]

2022-08-23 23:01:45 | [Mutex] received everything.

2022-08-23 23:01:45 | [Mutex] isItemNotified: published:item:notifieditem-8136bb7f-2a27-42ad-9c4d-502d32916679:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2022-08-23 23:01:46 |

2022-08-23 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:46 | ------------------------------------

2022-08-23 23:01:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e</node><item-id>item-8136bb7f-2a27-42ad-9c4d-502d32916679</item-id></data>

2022-08-23 23:01:46 | 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-8136bb7f-2a27-42ad-9c4d-502d32916679</value></item-id></result>

2022-08-23 23:01:46 | [Mutex] received everything.

2022-08-23 23:01:46 | [Mutex] isItemNotified: retracted:item:notifieditem-8136bb7f-2a27-42ad-9c4d-502d32916679:admin@test-domain.com :: true

retrieveItemsFromNodes 0.199s
2022-08-23 23:01:45 |

2022-08-23 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:45 | ------------------------------------

2022-08-23 23:01:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e</node><item-id>item-8136bb7f-2a27-42ad-9c4d-502d32916679</item-id></data>

2022-08-23 23:01:45 | 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-70b1983f-2d0f-4720-8064-8cab1a1c8c6e</value></node><item-id type="text-single" label="Item ID"><value>item-8136bb7f-2a27-42ad-9c4d-502d32916679</value></item-id><item type="text-multi" label="Item"><value><item id="item-8136bb7f-2a27-42ad-9c4d-502d32916679"><test>item-8136bb7f-2a27-42ad-9c4d-502d32916679</test></item></value></item></result>

2022-08-23 23:01:45 | [Mutex] notify: [retrieved:item:item-8136bb7f-2a27-42ad-9c4d-502d32916679:payload-matches:true:localhost]

2022-08-23 23:01:45 | [Mutex] received everything.

2022-08-23 23:01:45 | [Mutex] isItemNotified: retrieved:item:item-8136bb7f-2a27-42ad-9c4d-502d32916679:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-23 23:01:45 |

2022-08-23 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:45 | ------------------------------------

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

2022-08-23 23:01:46 | 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-70b1983f-2d0f-4720-8064-8cab1a1c8c6e</value><value>node-bda61320-3d1d-4248-9026-9d696ed526f3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-23 23:01:46 |

2022-08-23 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:46 | ------------------------------------

2022-08-23 23:01:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e)</node-pattern></data>

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

subscribeNodes 1.109s
2022-08-23 23:01:44 |

2022-08-23 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:44 | ------------------------------------

2022-08-23 23:01:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.231s
2022-08-23 23:01:46 |

2022-08-23 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-23 23:01:46 | ------------------------------------

2022-08-23 23:01:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-70b1983f-2d0f-4720-8064-8cab1a1c8c6e</node><jids><value>admin@test-domain.com</value></jids></data>

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