Generated by TestNG with ReportNG at 22:20 PDT on Thursday 24 March 2022
root@61c39d2ed70d / 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.866s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2022-03-24 22:34:14 |

2022-03-24 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:34:14 | ------------------------------------

2022-03-24 22:34:14 | [Mutex] waiting for: [configured:node:node-2c8fc1de-2951-4282-9d57-800d2c08fa2e:node-82c4534f-298f-4d0d-90ad-c0a0eaa74217]

2022-03-24 22:34:14 | [Mutex] received everything.

2022-03-24 22:34:14 | [Mutex] isItemNotified: configured:node:node-2c8fc1de-2951-4282-9d57-800d2c08fa2e:node-82c4534f-298f-4d0d-90ad-c0a0eaa74217 :: true

2022-03-24 22:34:15 | [Mutex] waiting for: [received:nodes:f7367ec0-b6dc-4a97-96ba-fa27088ca024:localhost]

2022-03-24 22:34:15 | [Mutex] received everything.

2022-03-24 22:34:15 | [Mutex] isItemNotified: received:node:f7367ec0-b6dc-4a97-96ba-fa27088ca024:localhost:node-2c8fc1de-2951-4282-9d57-800d2c08fa2e:Node 2c8fc1de-2951-4282-9d57-800d2c08fa2e :: true

2022-03-24 22:34:15 | [Mutex] waiting for: [received:nodes:419b12cd-86b8-4c45-b36a-1bab32f37ed9:localhost]

2022-03-24 22:34:15 | [Mutex] received everything.

2022-03-24 22:34:15 | [Mutex] isItemNotified: received:node:419b12cd-86b8-4c45-b36a-1bab32f37ed9:localhost:node-2c8fc1de-2951-4282-9d57-800d2c08fa2e:Node 2c8fc1de-2951-4282-9d57-800d2c08fa2e :: false

createNodes 1.431s
2022-03-24 22:34:11 |

2022-03-24 22:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:34:11 | ------------------------------------

2022-03-24 22:34:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2c8fc1de-2951-4282-9d57-800d2c08fa2e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2c8fc1de-2951-4282-9d57-800d2c08fa2e</title></pubsub></data>

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

2022-03-24 22:34:13 | [Mutex] waiting for: [received:nodes:fdd893af-44df-4afb-aa16-b5e0a1c8afc5:localhost]

2022-03-24 22:34:13 | [Mutex] received everything.

2022-03-24 22:34:13 | [Mutex] isItemNotified: received:node:fdd893af-44df-4afb-aa16-b5e0a1c8afc5:localhost:node-2c8fc1de-2951-4282-9d57-800d2c08fa2e:Node 2c8fc1de-2951-4282-9d57-800d2c08fa2e :: true

createSubnodes 1.024s
2022-03-24 22:34:13 |

2022-03-24 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:34:13 | ------------------------------------

2022-03-24 22:34:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-82c4534f-298f-4d0d-90ad-c0a0eaa74217</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 82c4534f-298f-4d0d-90ad-c0a0eaa74217</title></pubsub></data>

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

2022-03-24 22:34:14 | [Mutex] waiting for: [received:nodes:bb2a0b6a-fdad-4997-aa3c-66bf5d90a7d3:localhost]

2022-03-24 22:34:14 | [Mutex] waiting for: [received:nodes:bb2a0b6a-fdad-4997-aa3c-66bf5d90a7d3:localhost]

2022-03-24 22:34:14 | [Mutex] received everything.

2022-03-24 22:34:14 | [Mutex] isItemNotified: received:node:bb2a0b6a-fdad-4997-aa3c-66bf5d90a7d3:localhost:node-82c4534f-298f-4d0d-90ad-c0a0eaa74217:Node 82c4534f-298f-4d0d-90ad-c0a0eaa74217 :: true

deleteNodes 1.023s
2022-03-24 22:34:19 |

2022-03-24 22:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:34:19 | ------------------------------------

2022-03-24 22:34:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-82c4534f-298f-4d0d-90ad-c0a0eaa74217</node></data>

2022-03-24 22:34:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-24 22:34:20 | [Mutex] waiting for: [received:nodes:e7708159-746a-48a1-84d7-b6140a3b0702:localhost]

2022-03-24 22:34:20 | [Mutex] received everything.

2022-03-24 22:34:20 | [Mutex] isItemNotified: received:node:e7708159-746a-48a1-84d7-b6140a3b0702:localhost:node-82c4534f-298f-4d0d-90ad-c0a0eaa74217:Node 82c4534f-298f-4d0d-90ad-c0a0eaa74217 :: false

deleteSubnodes 1.137s
2022-03-24 22:34:18 |

2022-03-24 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:34:18 | ------------------------------------

2022-03-24 22:34:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2c8fc1de-2951-4282-9d57-800d2c08fa2e</node></data>

2022-03-24 22:34:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-24 22:34:19 | [Mutex] waiting for: [received:nodes:84ed9d32-a16e-4483-b0c4-311967dd522c:localhost]

2022-03-24 22:34:19 | [Mutex] received everything.

2022-03-24 22:34:19 | [Mutex] isItemNotified: received:node:84ed9d32-a16e-4483-b0c4-311967dd522c:localhost:node-2c8fc1de-2951-4282-9d57-800d2c08fa2e:Node 2c8fc1de-2951-4282-9d57-800d2c08fa2e :: false

2022-03-24 22:34:19 | [Mutex] waiting for: [received:nodes:fd6bcb65-3b07-49e3-971b-7e44834ee824:localhost]

2022-03-24 22:34:19 | [Mutex] received everything.

2022-03-24 22:34:19 | [Mutex] isItemNotified: received:node:fd6bcb65-3b07-49e3-971b-7e44834ee824:localhost:node-2c8fc1de-2951-4282-9d57-800d2c08fa2e:Node 2c8fc1de-2951-4282-9d57-800d2c08fa2e :: false

publishItemsToNodes 0.179s
2022-03-24 22:34:16 |

2022-03-24 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:34:16 | ------------------------------------

2022-03-24 22:34:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2c8fc1de-2951-4282-9d57-800d2c08fa2e</node><item-id>item-35c624c8-a759-41dc-9fab-4c95c9d08ef8</item-id><entry><test>item-35c624c8-a759-41dc-9fab-4c95c9d08ef8</test></entry></data>

2022-03-24 22:34:16 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-35c624c8-a759-41dc-9fab-4c95c9d08ef8</value></item-id></result>

2022-03-24 22:34:16 | [Mutex] waiting for: [published:item:notifieditem-35c624c8-a759-41dc-9fab-4c95c9d08ef8:admin@test-domain.com]

2022-03-24 22:34:16 | [Mutex] received everything.

2022-03-24 22:34:16 | [Mutex] isItemNotified: published:item:notifieditem-35c624c8-a759-41dc-9fab-4c95c9d08ef8:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2022-03-24 22:34:17 |

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

2022-03-24 22:34:17 | ------------------------------------

2022-03-24 22:34:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2c8fc1de-2951-4282-9d57-800d2c08fa2e</node><item-id>item-35c624c8-a759-41dc-9fab-4c95c9d08ef8</item-id></data>

2022-03-24 22:34:17 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-35c624c8-a759-41dc-9fab-4c95c9d08ef8</value></item-id></result>

2022-03-24 22:34:17 | [Mutex] waiting for: [retracted:item:notifieditem-35c624c8-a759-41dc-9fab-4c95c9d08ef8:admin@test-domain.com]

2022-03-24 22:34:17 | [Mutex] received everything.

2022-03-24 22:34:17 | [Mutex] isItemNotified: retracted:item:notifieditem-35c624c8-a759-41dc-9fab-4c95c9d08ef8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.280s
2022-03-24 22:34:16 |

2022-03-24 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:34:16 | ------------------------------------

2022-03-24 22:34:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2c8fc1de-2951-4282-9d57-800d2c08fa2e</node><item-id>item-35c624c8-a759-41dc-9fab-4c95c9d08ef8</item-id></data>

2022-03-24 22:34:17 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-2c8fc1de-2951-4282-9d57-800d2c08fa2e</value></node><item-id label="Item ID" type="text-single"><value>item-35c624c8-a759-41dc-9fab-4c95c9d08ef8</value></item-id><item label="Item" type="text-multi"><value><item id="item-35c624c8-a759-41dc-9fab-4c95c9d08ef8"><test>item-35c624c8-a759-41dc-9fab-4c95c9d08ef8</test></item></value></item></result>

2022-03-24 22:34:17 | [Mutex] notify: [retrieved:item:item-35c624c8-a759-41dc-9fab-4c95c9d08ef8:payload-matches:true:localhost]

2022-03-24 22:34:17 | [Mutex] received everything.

2022-03-24 22:34:17 | [Mutex] isItemNotified: retrieved:item:item-35c624c8-a759-41dc-9fab-4c95c9d08ef8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-03-24 22:34:17 |

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

2022-03-24 22:34:17 | ------------------------------------

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

2022-03-24 22:34:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-82c4534f-298f-4d0d-90ad-c0a0eaa74217</value><value>node-2c8fc1de-2951-4282-9d57-800d2c08fa2e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-03-24 22:34:17 |

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

2022-03-24 22:34:17 | ------------------------------------

2022-03-24 22:34:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2c8fc1de-2951-4282-9d57-800d2c08fa2e)</node-pattern></data>

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

subscribeNodes 1.166s
2022-03-24 22:34:15 |

2022-03-24 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 22:34:15 | ------------------------------------

2022-03-24 22:34:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2c8fc1de-2951-4282-9d57-800d2c08fa2e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-03-24 22:34:15 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2022-03-24 22:34:17 |

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

2022-03-24 22:34:17 | ------------------------------------

2022-03-24 22:34:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2c8fc1de-2951-4282-9d57-800d2c08fa2e</node><jids><value>admin@test-domain.com</value></jids></data>

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