Generated by TestNG with ReportNG at 21:51 PST on Monday 18 January 2021
root@eaa73862192b / Java 11.0.8 (Ubuntu) / 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.877s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.128s
2021-01-18 22:06:15 |

2021-01-18 22:06:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:15 | ------------------------------------

2021-01-18 22:06:15 | [Mutex] waiting for: [configured:node:node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd:node-c490769f-46d8-4d8f-a306-1daefef90ac4]

2021-01-18 22:06:15 | [Mutex] received everything.

2021-01-18 22:06:15 | [Mutex] isItemNotified: configured:node:node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd:node-c490769f-46d8-4d8f-a306-1daefef90ac4 :: true

2021-01-18 22:06:16 | [Mutex] waiting for: [received:nodes:cc99f918-94b4-4154-b5e8-dce4646ba7c5:localhost]

2021-01-18 22:06:16 | [Mutex] received everything.

2021-01-18 22:06:16 | [Mutex] isItemNotified: received:node:cc99f918-94b4-4154-b5e8-dce4646ba7c5:localhost:node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd:Node ebdb9d41-4d29-4851-8dfc-2270d001c0fd :: true

2021-01-18 22:06:16 | [Mutex] waiting for: [received:nodes:959f2b9a-6a1f-40c4-b712-e7b6c1b9c3a7:localhost]

2021-01-18 22:06:16 | [Mutex] received everything.

2021-01-18 22:06:16 | [Mutex] isItemNotified: received:node:959f2b9a-6a1f-40c4-b712-e7b6c1b9c3a7:localhost:node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd:Node ebdb9d41-4d29-4851-8dfc-2270d001c0fd :: false

createNodes 1.445s
2021-01-18 22:06:13 |

2021-01-18 22:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:13 | ------------------------------------

2021-01-18 22:06:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ebdb9d41-4d29-4851-8dfc-2270d001c0fd</title></pubsub></data>

2021-01-18 22:06:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-18 22:06:14 | [Mutex] waiting for: [received:nodes:a742a86a-1ec2-483f-a0c1-740717a43965:localhost]

2021-01-18 22:06:14 | [Mutex] received everything.

2021-01-18 22:06:14 | [Mutex] isItemNotified: received:node:a742a86a-1ec2-483f-a0c1-740717a43965:localhost:node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd:Node ebdb9d41-4d29-4851-8dfc-2270d001c0fd :: true

createSubnodes 1.028s
2021-01-18 22:06:14 |

2021-01-18 22:06:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:14 | ------------------------------------

2021-01-18 22:06:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c490769f-46d8-4d8f-a306-1daefef90ac4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c490769f-46d8-4d8f-a306-1daefef90ac4</title></pubsub></data>

2021-01-18 22:06:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-18 22:06:15 | [Mutex] waiting for: [received:nodes:924afdad-a76e-4e1c-837f-2a0e97f1995c:localhost]

2021-01-18 22:06:15 | [Mutex] received everything.

2021-01-18 22:06:15 | [Mutex] isItemNotified: received:node:924afdad-a76e-4e1c-837f-2a0e97f1995c:localhost:node-c490769f-46d8-4d8f-a306-1daefef90ac4:Node c490769f-46d8-4d8f-a306-1daefef90ac4 :: true

deleteNodes 1.019s
2021-01-18 22:06:20 |

2021-01-18 22:06:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:20 | ------------------------------------

2021-01-18 22:06:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c490769f-46d8-4d8f-a306-1daefef90ac4</node></data>

2021-01-18 22:06:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-18 22:06:21 | [Mutex] waiting for: [received:nodes:1f6ad4de-2efa-42b3-b9d6-60cf244bf6fe:localhost]

2021-01-18 22:06:21 | [Mutex] received everything.

2021-01-18 22:06:21 | [Mutex] isItemNotified: received:node:1f6ad4de-2efa-42b3-b9d6-60cf244bf6fe:localhost:node-c490769f-46d8-4d8f-a306-1daefef90ac4:Node c490769f-46d8-4d8f-a306-1daefef90ac4 :: false

deleteSubnodes 1.137s
2021-01-18 22:06:19 |

2021-01-18 22:06:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:19 | ------------------------------------

2021-01-18 22:06:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd</node></data>

2021-01-18 22:06:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-18 22:06:20 | [Mutex] waiting for: [received:nodes:9842b40a-39ed-427d-8d84-58cbe67fb9a7:localhost]

2021-01-18 22:06:20 | [Mutex] waiting for: [received:nodes:9842b40a-39ed-427d-8d84-58cbe67fb9a7:localhost]

2021-01-18 22:06:20 | [Mutex] received everything.

2021-01-18 22:06:20 | [Mutex] isItemNotified: received:node:9842b40a-39ed-427d-8d84-58cbe67fb9a7:localhost:node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd:Node ebdb9d41-4d29-4851-8dfc-2270d001c0fd :: false

2021-01-18 22:06:20 | [Mutex] waiting for: [received:nodes:de8f1e55-1d9f-4c8d-91dd-1804aa7e96b2:localhost]

2021-01-18 22:06:20 | [Mutex] received everything.

2021-01-18 22:06:20 | [Mutex] isItemNotified: received:node:de8f1e55-1d9f-4c8d-91dd-1804aa7e96b2:localhost:node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd:Node ebdb9d41-4d29-4851-8dfc-2270d001c0fd :: false

publishItemsToNodes 0.254s
2021-01-18 22:06:17 |

2021-01-18 22:06:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:17 | ------------------------------------

2021-01-18 22:06:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd</node><item-id>item-cc31785c-df7e-4275-9d55-06c3c33f8137</item-id><entry><test>item-cc31785c-df7e-4275-9d55-06c3c33f8137</test></entry></data>

2021-01-18 22:06:17 | 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-cc31785c-df7e-4275-9d55-06c3c33f8137</value></item-id></result>

2021-01-18 22:06:17 | [Mutex] waiting for: [published:item:notifieditem-cc31785c-df7e-4275-9d55-06c3c33f8137:admin@test-domain.com]

2021-01-18 22:06:17 | [Mutex] received everything.

2021-01-18 22:06:17 | [Mutex] isItemNotified: published:item:notifieditem-cc31785c-df7e-4275-9d55-06c3c33f8137:admin@test-domain.com :: true

retractItemsFromNodes 0.199s
2021-01-18 22:06:18 |

2021-01-18 22:06:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:18 | ------------------------------------

2021-01-18 22:06:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd</node><item-id>item-cc31785c-df7e-4275-9d55-06c3c33f8137</item-id></data>

2021-01-18 22:06:18 | 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-cc31785c-df7e-4275-9d55-06c3c33f8137</value></item-id></result>

2021-01-18 22:06:18 | [Mutex] waiting for: [retracted:item:notifieditem-cc31785c-df7e-4275-9d55-06c3c33f8137:admin@test-domain.com]

2021-01-18 22:06:18 | [Mutex] received everything.

2021-01-18 22:06:18 | [Mutex] isItemNotified: retracted:item:notifieditem-cc31785c-df7e-4275-9d55-06c3c33f8137:admin@test-domain.com :: true

retrieveItemsFromNodes 0.207s
2021-01-18 22:06:17 |

2021-01-18 22:06:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:17 | ------------------------------------

2021-01-18 22:06:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd</node><item-id>item-cc31785c-df7e-4275-9d55-06c3c33f8137</item-id></data>

2021-01-18 22:06:18 | 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-ebdb9d41-4d29-4851-8dfc-2270d001c0fd</value></node><item-id label="Item ID" type="text-single"><value>item-cc31785c-df7e-4275-9d55-06c3c33f8137</value></item-id><item label="Item" type="text-multi"><value><item id="item-cc31785c-df7e-4275-9d55-06c3c33f8137"><test>item-cc31785c-df7e-4275-9d55-06c3c33f8137</test></item></value></item></result>

2021-01-18 22:06:18 | [Mutex] notify: [retrieved:item:item-cc31785c-df7e-4275-9d55-06c3c33f8137:payload-matches:true:localhost]

2021-01-18 22:06:18 | [Mutex] received everything.

2021-01-18 22:06:18 | [Mutex] isItemNotified: retrieved:item:item-cc31785c-df7e-4275-9d55-06c3c33f8137:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-18 22:06:18 |

2021-01-18 22:06:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:18 | ------------------------------------

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

2021-01-18 22:06:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-c490769f-46d8-4d8f-a306-1daefef90ac4</value><value>test</value><value>node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-01-18 22:06:18 |

2021-01-18 22:06:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:18 | ------------------------------------

2021-01-18 22:06:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd)</node-pattern></data>

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

subscribeNodes 1.092s
2021-01-18 22:06:16 |

2021-01-18 22:06:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:16 | ------------------------------------

2021-01-18 22:06:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-18 22:06:16 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.246s
2021-01-18 22:06:18 |

2021-01-18 22:06:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:06:18 | ------------------------------------

2021-01-18 22:06:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ebdb9d41-4d29-4851-8dfc-2270d001c0fd</node><jids><value>admin@test-domain.com</value></jids></data>

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