Generated by TestNG with ReportNG at 23:06 PDT on Monday 19 October 2020
root@43fec6d4badf / 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.873s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.143s
2020-10-19 23:22:20 |

2020-10-19 23:22:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:20 | ------------------------------------

2020-10-19 23:22:20 | [Mutex] waiting for: [configured:node:node-feb02de0-7e3b-45be-82d2-682c3c7b3650:node-35f67da9-642f-479d-a5ab-2acf87c70108]

2020-10-19 23:22:21 | [Mutex] received everything.

2020-10-19 23:22:21 | [Mutex] isItemNotified: configured:node:node-feb02de0-7e3b-45be-82d2-682c3c7b3650:node-35f67da9-642f-479d-a5ab-2acf87c70108 :: true

2020-10-19 23:22:22 | [Mutex] waiting for: [received:nodes:1f97312e-60ce-4fe3-acf1-9daa22709d86:localhost]

2020-10-19 23:22:22 | [Mutex] received everything.

2020-10-19 23:22:22 | [Mutex] isItemNotified: received:node:1f97312e-60ce-4fe3-acf1-9daa22709d86:localhost:node-feb02de0-7e3b-45be-82d2-682c3c7b3650:Node feb02de0-7e3b-45be-82d2-682c3c7b3650 :: true

2020-10-19 23:22:22 | [Mutex] waiting for: [received:nodes:40c42fe3-4941-4b55-b6a6-0fa1de2aa4bc:localhost]

2020-10-19 23:22:22 | [Mutex] waiting for: [received:nodes:40c42fe3-4941-4b55-b6a6-0fa1de2aa4bc:localhost]

2020-10-19 23:22:22 | [Mutex] received everything.

2020-10-19 23:22:22 | [Mutex] isItemNotified: received:node:40c42fe3-4941-4b55-b6a6-0fa1de2aa4bc:localhost:node-feb02de0-7e3b-45be-82d2-682c3c7b3650:Node feb02de0-7e3b-45be-82d2-682c3c7b3650 :: false

createNodes 1.400s
2020-10-19 23:22:18 |

2020-10-19 23:22:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:18 | ------------------------------------

2020-10-19 23:22:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-feb02de0-7e3b-45be-82d2-682c3c7b3650</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node feb02de0-7e3b-45be-82d2-682c3c7b3650</title></pubsub></data>

2020-10-19 23:22:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-19 23:22:19 | [Mutex] waiting for: [received:nodes:f21480a3-47d1-4fd0-a170-ebe2e2dfc6c5:localhost]

2020-10-19 23:22:19 | [Mutex] waiting for: [received:nodes:f21480a3-47d1-4fd0-a170-ebe2e2dfc6c5:localhost]

2020-10-19 23:22:19 | [Mutex] received everything.

2020-10-19 23:22:19 | [Mutex] isItemNotified: received:node:f21480a3-47d1-4fd0-a170-ebe2e2dfc6c5:localhost:node-feb02de0-7e3b-45be-82d2-682c3c7b3650:Node feb02de0-7e3b-45be-82d2-682c3c7b3650 :: true

createSubnodes 1.032s
2020-10-19 23:22:19 |

2020-10-19 23:22:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:19 | ------------------------------------

2020-10-19 23:22:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-35f67da9-642f-479d-a5ab-2acf87c70108</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 35f67da9-642f-479d-a5ab-2acf87c70108</title></pubsub></data>

2020-10-19 23:22:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-19 23:22:20 | [Mutex] waiting for: [received:nodes:f6261fca-0b5a-4732-8408-3225fac7a43a:localhost]

2020-10-19 23:22:20 | [Mutex] received everything.

2020-10-19 23:22:20 | [Mutex] isItemNotified: received:node:f6261fca-0b5a-4732-8408-3225fac7a43a:localhost:node-35f67da9-642f-479d-a5ab-2acf87c70108:Node 35f67da9-642f-479d-a5ab-2acf87c70108 :: true

deleteNodes 1.025s
2020-10-19 23:22:26 |

2020-10-19 23:22:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:26 | ------------------------------------

2020-10-19 23:22:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-35f67da9-642f-479d-a5ab-2acf87c70108</node></data>

2020-10-19 23:22:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-19 23:22:27 | [Mutex] waiting for: [received:nodes:3bc8b48c-691c-4f89-b05a-0aee581b6f04:localhost]

2020-10-19 23:22:27 | [Mutex] received everything.

2020-10-19 23:22:27 | [Mutex] isItemNotified: received:node:3bc8b48c-691c-4f89-b05a-0aee581b6f04:localhost:node-35f67da9-642f-479d-a5ab-2acf87c70108:Node 35f67da9-642f-479d-a5ab-2acf87c70108 :: false

deleteSubnodes 1.157s
2020-10-19 23:22:25 |

2020-10-19 23:22:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:25 | ------------------------------------

2020-10-19 23:22:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-feb02de0-7e3b-45be-82d2-682c3c7b3650</node></data>

2020-10-19 23:22:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-19 23:22:26 | [Mutex] waiting for: [received:nodes:cd4a4667-7348-4b53-af0a-835afb6b9f02:localhost]

2020-10-19 23:22:26 | [Mutex] received everything.

2020-10-19 23:22:26 | [Mutex] isItemNotified: received:node:cd4a4667-7348-4b53-af0a-835afb6b9f02:localhost:node-feb02de0-7e3b-45be-82d2-682c3c7b3650:Node feb02de0-7e3b-45be-82d2-682c3c7b3650 :: false

2020-10-19 23:22:26 | [Mutex] waiting for: [received:nodes:f61f15fe-f15a-4d2e-997d-0937e06e86f1:localhost]

2020-10-19 23:22:26 | [Mutex] received everything.

2020-10-19 23:22:26 | [Mutex] isItemNotified: received:node:f61f15fe-f15a-4d2e-997d-0937e06e86f1:localhost:node-feb02de0-7e3b-45be-82d2-682c3c7b3650:Node feb02de0-7e3b-45be-82d2-682c3c7b3650 :: false

publishItemsToNodes 0.210s
2020-10-19 23:22:23 |

2020-10-19 23:22:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:23 | ------------------------------------

2020-10-19 23:22:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-feb02de0-7e3b-45be-82d2-682c3c7b3650</node><item-id>item-d7530a39-6e6d-49d0-aa8c-4d9592e11e81</item-id><entry><test>item-d7530a39-6e6d-49d0-aa8c-4d9592e11e81</test></entry></data>

2020-10-19 23:22:23 | 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-d7530a39-6e6d-49d0-aa8c-4d9592e11e81</value></item-id></result>

2020-10-19 23:22:23 | [Mutex] waiting for: [published:item:notifieditem-d7530a39-6e6d-49d0-aa8c-4d9592e11e81:admin@test-domain.com]

2020-10-19 23:22:23 | [Mutex] received everything.

2020-10-19 23:22:23 | [Mutex] isItemNotified: published:item:notifieditem-d7530a39-6e6d-49d0-aa8c-4d9592e11e81:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2020-10-19 23:22:23 |

2020-10-19 23:22:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:23 | ------------------------------------

2020-10-19 23:22:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-feb02de0-7e3b-45be-82d2-682c3c7b3650</node><item-id>item-d7530a39-6e6d-49d0-aa8c-4d9592e11e81</item-id></data>

2020-10-19 23:22:24 | 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-d7530a39-6e6d-49d0-aa8c-4d9592e11e81</value></item-id></result>

2020-10-19 23:22:24 | [Mutex] received everything.

2020-10-19 23:22:24 | [Mutex] isItemNotified: retracted:item:notifieditem-d7530a39-6e6d-49d0-aa8c-4d9592e11e81:admin@test-domain.com :: true

retrieveItemsFromNodes 0.243s
2020-10-19 23:22:23 |

2020-10-19 23:22:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:23 | ------------------------------------

2020-10-19 23:22:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-feb02de0-7e3b-45be-82d2-682c3c7b3650</node><item-id>item-d7530a39-6e6d-49d0-aa8c-4d9592e11e81</item-id></data>

2020-10-19 23:22:23 | 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-feb02de0-7e3b-45be-82d2-682c3c7b3650</value></node><item-id label="Item ID" type="text-single"><value>item-d7530a39-6e6d-49d0-aa8c-4d9592e11e81</value></item-id><item label="Item" type="text-multi"><value><item id="item-d7530a39-6e6d-49d0-aa8c-4d9592e11e81"><test>item-d7530a39-6e6d-49d0-aa8c-4d9592e11e81</test></item></value></item></result>

2020-10-19 23:22:23 | [Mutex] notify: [retrieved:item:item-d7530a39-6e6d-49d0-aa8c-4d9592e11e81:payload-matches:true:localhost]

2020-10-19 23:22:23 | [Mutex] received everything.

2020-10-19 23:22:23 | [Mutex] isItemNotified: retrieved:item:item-d7530a39-6e6d-49d0-aa8c-4d9592e11e81:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2020-10-19 23:22:23 |

2020-10-19 23:22:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:23 | ------------------------------------

2020-10-19 23:22:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-19 23:22:23 | 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-feb02de0-7e3b-45be-82d2-682c3c7b3650</value><value>node-35f67da9-642f-479d-a5ab-2acf87c70108</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-19 23:22:23 |

2020-10-19 23:22:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:23 | ------------------------------------

2020-10-19 23:22:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-feb02de0-7e3b-45be-82d2-682c3c7b3650)</node-pattern></data>

2020-10-19 23:22:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.126s
2020-10-19 23:22:22 |

2020-10-19 23:22:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:22 | ------------------------------------

2020-10-19 23:22:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-feb02de0-7e3b-45be-82d2-682c3c7b3650</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-19 23:22:22 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.191s
2020-10-19 23:22:24 |

2020-10-19 23:22:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:22:24 | ------------------------------------

2020-10-19 23:22:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-feb02de0-7e3b-45be-82d2-682c3c7b3650</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-19 23:22:24 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>