Generated by TestNG with ReportNG at 22:17 PDT on Tuesday 01 September 2020
root@556a2edbe156 / 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 : 10.077s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2020-09-01 22:34:26 |

2020-09-01 22:34:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:26 | ------------------------------------

2020-09-01 22:34:26 | [Mutex] waiting for: [configured:node:node-9c24cd00-784d-405a-8a6e-13ce8a148ff3:node-dc51d026-fe2e-4046-b4e0-2a4d3054f616]

2020-09-01 22:34:26 | [Mutex] received everything.

2020-09-01 22:34:26 | [Mutex] isItemNotified: configured:node:node-9c24cd00-784d-405a-8a6e-13ce8a148ff3:node-dc51d026-fe2e-4046-b4e0-2a4d3054f616 :: true

2020-09-01 22:34:27 | [Mutex] waiting for: [received:nodes:fe615676-9df6-4eac-a002-be19a073e0d7:localhost]

2020-09-01 22:34:27 | [Mutex] received everything.

2020-09-01 22:34:27 | [Mutex] isItemNotified: received:node:fe615676-9df6-4eac-a002-be19a073e0d7:localhost:node-9c24cd00-784d-405a-8a6e-13ce8a148ff3:Node 9c24cd00-784d-405a-8a6e-13ce8a148ff3 :: true

2020-09-01 22:34:27 | [Mutex] waiting for: [received:nodes:ec14206d-0e73-408f-a2aa-70a17d01c8ee:localhost]

2020-09-01 22:34:27 | [Mutex] waiting for: [received:nodes:ec14206d-0e73-408f-a2aa-70a17d01c8ee:localhost]

2020-09-01 22:34:27 | [Mutex] received everything.

2020-09-01 22:34:27 | [Mutex] isItemNotified: received:node:ec14206d-0e73-408f-a2aa-70a17d01c8ee:localhost:node-9c24cd00-784d-405a-8a6e-13ce8a148ff3:Node 9c24cd00-784d-405a-8a6e-13ce8a148ff3 :: false

createNodes 1.408s
2020-09-01 22:34:23 |

2020-09-01 22:34:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:23 | ------------------------------------

2020-09-01 22:34:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9c24cd00-784d-405a-8a6e-13ce8a148ff3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9c24cd00-784d-405a-8a6e-13ce8a148ff3</title></pubsub></data>

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

2020-09-01 22:34:25 | [Mutex] waiting for: [received:nodes:eed6d0c7-840f-474c-b80f-0711a575fa1c:localhost]

2020-09-01 22:34:25 | [Mutex] received everything.

2020-09-01 22:34:25 | [Mutex] isItemNotified: received:node:eed6d0c7-840f-474c-b80f-0711a575fa1c:localhost:node-9c24cd00-784d-405a-8a6e-13ce8a148ff3:Node 9c24cd00-784d-405a-8a6e-13ce8a148ff3 :: true

createSubnodes 1.028s
2020-09-01 22:34:25 |

2020-09-01 22:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:25 | ------------------------------------

2020-09-01 22:34:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dc51d026-fe2e-4046-b4e0-2a4d3054f616</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dc51d026-fe2e-4046-b4e0-2a4d3054f616</title></pubsub></data>

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

2020-09-01 22:34:26 | [Mutex] waiting for: [received:nodes:c79c1e55-77aa-472a-b78c-0fdd482006bf:localhost]

2020-09-01 22:34:26 | [Mutex] received everything.

2020-09-01 22:34:26 | [Mutex] isItemNotified: received:node:c79c1e55-77aa-472a-b78c-0fdd482006bf:localhost:node-dc51d026-fe2e-4046-b4e0-2a4d3054f616:Node dc51d026-fe2e-4046-b4e0-2a4d3054f616 :: true

deleteNodes 1.017s
2020-09-01 22:34:32 |

2020-09-01 22:34:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:32 | ------------------------------------

2020-09-01 22:34:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dc51d026-fe2e-4046-b4e0-2a4d3054f616</node></data>

2020-09-01 22:34:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-01 22:34:33 | [Mutex] waiting for: [received:nodes:9edc7d4c-1e7c-4ec3-a12e-0dc89f8cc520:localhost]

2020-09-01 22:34:33 | [Mutex] waiting for: [received:nodes:9edc7d4c-1e7c-4ec3-a12e-0dc89f8cc520:localhost]

2020-09-01 22:34:33 | [Mutex] waiting for: [received:nodes:9edc7d4c-1e7c-4ec3-a12e-0dc89f8cc520:localhost]

2020-09-01 22:34:33 | [Mutex] received everything.

2020-09-01 22:34:33 | [Mutex] isItemNotified: received:node:9edc7d4c-1e7c-4ec3-a12e-0dc89f8cc520:localhost:node-dc51d026-fe2e-4046-b4e0-2a4d3054f616:Node dc51d026-fe2e-4046-b4e0-2a4d3054f616 :: false

deleteSubnodes 1.112s
2020-09-01 22:34:30 |

2020-09-01 22:34:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:30 | ------------------------------------

2020-09-01 22:34:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9c24cd00-784d-405a-8a6e-13ce8a148ff3</node></data>

2020-09-01 22:34:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-01 22:34:32 | [Mutex] waiting for: [received:nodes:93cdd0a2-1a6a-4430-9d7f-77d4a28f8e88:localhost]

2020-09-01 22:34:32 | [Mutex] received everything.

2020-09-01 22:34:32 | [Mutex] isItemNotified: received:node:93cdd0a2-1a6a-4430-9d7f-77d4a28f8e88:localhost:node-9c24cd00-784d-405a-8a6e-13ce8a148ff3:Node 9c24cd00-784d-405a-8a6e-13ce8a148ff3 :: false

2020-09-01 22:34:32 | [Mutex] waiting for: [received:nodes:ddc432c8-5952-49e1-93fd-8eb0a6ae3cba:localhost]

2020-09-01 22:34:32 | [Mutex] received everything.

2020-09-01 22:34:32 | [Mutex] isItemNotified: received:node:ddc432c8-5952-49e1-93fd-8eb0a6ae3cba:localhost:node-9c24cd00-784d-405a-8a6e-13ce8a148ff3:Node 9c24cd00-784d-405a-8a6e-13ce8a148ff3 :: false

publishItemsToNodes 0.185s
2020-09-01 22:34:28 |

2020-09-01 22:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:28 | ------------------------------------

2020-09-01 22:34:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9c24cd00-784d-405a-8a6e-13ce8a148ff3</node><item-id>item-89146deb-59b7-415b-9c98-f8b1d7505dfa</item-id><entry><test>item-89146deb-59b7-415b-9c98-f8b1d7505dfa</test></entry></data>

2020-09-01 22:34:28 | 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-89146deb-59b7-415b-9c98-f8b1d7505dfa</value></item-id></result>

2020-09-01 22:34:28 | [Mutex] received everything.

2020-09-01 22:34:28 | [Mutex] isItemNotified: published:item:notifieditem-89146deb-59b7-415b-9c98-f8b1d7505dfa:admin@test-domain.com :: true

retractItemsFromNodes 0.326s
2020-09-01 22:34:29 |

2020-09-01 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:29 | ------------------------------------

2020-09-01 22:34:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9c24cd00-784d-405a-8a6e-13ce8a148ff3</node><item-id>item-89146deb-59b7-415b-9c98-f8b1d7505dfa</item-id></data>

2020-09-01 22:34:29 | 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-89146deb-59b7-415b-9c98-f8b1d7505dfa</value></item-id></result>

2020-09-01 22:34:29 | [Mutex] received everything.

2020-09-01 22:34:29 | [Mutex] isItemNotified: retracted:item:notifieditem-89146deb-59b7-415b-9c98-f8b1d7505dfa:admin@test-domain.com :: true

retrieveItemsFromNodes 0.327s
2020-09-01 22:34:28 |

2020-09-01 22:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:28 | ------------------------------------

2020-09-01 22:34:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9c24cd00-784d-405a-8a6e-13ce8a148ff3</node><item-id>item-89146deb-59b7-415b-9c98-f8b1d7505dfa</item-id></data>

2020-09-01 22:34:29 | 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-9c24cd00-784d-405a-8a6e-13ce8a148ff3</value></node><item-id label="Item ID" type="text-single"><value>item-89146deb-59b7-415b-9c98-f8b1d7505dfa</value></item-id><item label="Item" type="text-multi"><value><item id="item-89146deb-59b7-415b-9c98-f8b1d7505dfa"><test>item-89146deb-59b7-415b-9c98-f8b1d7505dfa</test></item></value></item></result>

2020-09-01 22:34:29 | [Mutex] notify: [retrieved:item:item-89146deb-59b7-415b-9c98-f8b1d7505dfa:payload-matches:true:localhost]

2020-09-01 22:34:29 | [Mutex] received everything.

2020-09-01 22:34:29 | [Mutex] isItemNotified: retrieved:item:item-89146deb-59b7-415b-9c98-f8b1d7505dfa:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-01 22:34:29 |

2020-09-01 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:29 | ------------------------------------

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

2020-09-01 22:34:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-9c24cd00-784d-405a-8a6e-13ce8a148ff3</value><value>test</value><value>node-dc51d026-fe2e-4046-b4e0-2a4d3054f616</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-01 22:34:29 |

2020-09-01 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:29 | ------------------------------------

2020-09-01 22:34:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9c24cd00-784d-405a-8a6e-13ce8a148ff3)</node-pattern></data>

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

subscribeNodes 1.167s
2020-09-01 22:34:27 |

2020-09-01 22:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:27 | ------------------------------------

2020-09-01 22:34:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9c24cd00-784d-405a-8a6e-13ce8a148ff3</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.324s
2020-09-01 22:34:29 |

2020-09-01 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 22:34:29 | ------------------------------------

2020-09-01 22:34:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9c24cd00-784d-405a-8a6e-13ce8a148ff3</node><jids><value>admin@test-domain.com</value></jids></data>

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