Generated by TestNG with ReportNG at 21:14 PST on Sunday 01 November 2020
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.968s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2020-11-01 21:29:11 |

2020-11-01 21:29:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:11 | ------------------------------------

2020-11-01 21:29:11 | [Mutex] waiting for: [configured:node:node-aad509b4-c09b-4351-bc23-50f5648c3ced:node-49c7a6f0-15a9-4dac-b5d8-5be92a4d1636]

2020-11-01 21:29:11 | [Mutex] received everything.

2020-11-01 21:29:11 | [Mutex] isItemNotified: configured:node:node-aad509b4-c09b-4351-bc23-50f5648c3ced:node-49c7a6f0-15a9-4dac-b5d8-5be92a4d1636 :: true

2020-11-01 21:29:12 | [Mutex] waiting for: [received:nodes:7507bd64-71c9-4c32-9385-a6f517b967e6:localhost]

2020-11-01 21:29:12 | [Mutex] waiting for: [received:nodes:7507bd64-71c9-4c32-9385-a6f517b967e6:localhost]

2020-11-01 21:29:12 | [Mutex] received everything.

2020-11-01 21:29:12 | [Mutex] isItemNotified: received:node:7507bd64-71c9-4c32-9385-a6f517b967e6:localhost:node-aad509b4-c09b-4351-bc23-50f5648c3ced:Node aad509b4-c09b-4351-bc23-50f5648c3ced :: true

2020-11-01 21:29:12 | [Mutex] waiting for: [received:nodes:172f60bb-1b62-4118-9b1d-ec3d2a2935fd:localhost]

2020-11-01 21:29:12 | [Mutex] received everything.

2020-11-01 21:29:12 | [Mutex] isItemNotified: received:node:172f60bb-1b62-4118-9b1d-ec3d2a2935fd:localhost:node-aad509b4-c09b-4351-bc23-50f5648c3ced:Node aad509b4-c09b-4351-bc23-50f5648c3ced :: false

createNodes 1.501s
2020-11-01 21:29:08 |

2020-11-01 21:29:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:08 | ------------------------------------

2020-11-01 21:29:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aad509b4-c09b-4351-bc23-50f5648c3ced</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aad509b4-c09b-4351-bc23-50f5648c3ced</title></pubsub></data>

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

2020-11-01 21:29:09 | [Mutex] waiting for: [received:nodes:ef10372b-a66d-4aa8-898d-c8db4b0fd250:localhost]

2020-11-01 21:29:09 | [Mutex] received everything.

2020-11-01 21:29:09 | [Mutex] isItemNotified: received:node:ef10372b-a66d-4aa8-898d-c8db4b0fd250:localhost:node-aad509b4-c09b-4351-bc23-50f5648c3ced:Node aad509b4-c09b-4351-bc23-50f5648c3ced :: true

createSubnodes 1.037s
2020-11-01 21:29:09 |

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

2020-11-01 21:29:09 | ------------------------------------

2020-11-01 21:29:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-49c7a6f0-15a9-4dac-b5d8-5be92a4d1636</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 49c7a6f0-15a9-4dac-b5d8-5be92a4d1636</title></pubsub></data>

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

2020-11-01 21:29:10 | [Mutex] waiting for: [received:nodes:6836b399-42f1-4292-a9f0-0096c84e44cf:localhost]

2020-11-01 21:29:10 | [Mutex] waiting for: [received:nodes:6836b399-42f1-4292-a9f0-0096c84e44cf:localhost]

2020-11-01 21:29:11 | [Mutex] received everything.

2020-11-01 21:29:11 | [Mutex] isItemNotified: received:node:6836b399-42f1-4292-a9f0-0096c84e44cf:localhost:node-49c7a6f0-15a9-4dac-b5d8-5be92a4d1636:Node 49c7a6f0-15a9-4dac-b5d8-5be92a4d1636 :: true

deleteNodes 1.024s
2020-11-01 21:29:16 |

2020-11-01 21:29:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:16 | ------------------------------------

2020-11-01 21:29:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-49c7a6f0-15a9-4dac-b5d8-5be92a4d1636</node></data>

2020-11-01 21:29:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-01 21:29:17 | [Mutex] waiting for: [received:nodes:1d7c213a-5d57-43d5-8729-bc36f286056f:localhost]

2020-11-01 21:29:17 | [Mutex] received everything.

2020-11-01 21:29:17 | [Mutex] isItemNotified: received:node:1d7c213a-5d57-43d5-8729-bc36f286056f:localhost:node-49c7a6f0-15a9-4dac-b5d8-5be92a4d1636:Node 49c7a6f0-15a9-4dac-b5d8-5be92a4d1636 :: false

deleteSubnodes 1.103s
2020-11-01 21:29:15 |

2020-11-01 21:29:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:15 | ------------------------------------

2020-11-01 21:29:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aad509b4-c09b-4351-bc23-50f5648c3ced</node></data>

2020-11-01 21:29:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-01 21:29:16 | [Mutex] waiting for: [received:nodes:b113c37a-1426-4998-8fee-0bc3e5617ae6:localhost]

2020-11-01 21:29:16 | [Mutex] received everything.

2020-11-01 21:29:16 | [Mutex] isItemNotified: received:node:b113c37a-1426-4998-8fee-0bc3e5617ae6:localhost:node-aad509b4-c09b-4351-bc23-50f5648c3ced:Node aad509b4-c09b-4351-bc23-50f5648c3ced :: false

2020-11-01 21:29:16 | [Mutex] waiting for: [received:nodes:368274ea-ccf8-48fa-aab0-fa7b15513b41:localhost]

2020-11-01 21:29:16 | [Mutex] received everything.

2020-11-01 21:29:16 | [Mutex] isItemNotified: received:node:368274ea-ccf8-48fa-aab0-fa7b15513b41:localhost:node-aad509b4-c09b-4351-bc23-50f5648c3ced:Node aad509b4-c09b-4351-bc23-50f5648c3ced :: false

publishItemsToNodes 0.186s
2020-11-01 21:29:13 |

2020-11-01 21:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:13 | ------------------------------------

2020-11-01 21:29:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-aad509b4-c09b-4351-bc23-50f5648c3ced</node><item-id>item-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779</item-id><entry><test>item-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779</test></entry></data>

2020-11-01 21:29:13 | 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-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779</value></item-id></result>

2020-11-01 21:29:13 | [Mutex] received everything.

2020-11-01 21:29:13 | [Mutex] isItemNotified: published:item:notifieditem-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779:admin@test-domain.com :: true

retractItemsFromNodes 0.190s
2020-11-01 21:29:13 |

2020-11-01 21:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:13 | ------------------------------------

2020-11-01 21:29:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-aad509b4-c09b-4351-bc23-50f5648c3ced</node><item-id>item-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779</item-id></data>

2020-11-01 21:29:14 | 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-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779</value></item-id></result>

2020-11-01 21:29:14 | [Mutex] waiting for: [retracted:item:notifieditem-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779:admin@test-domain.com]

2020-11-01 21:29:14 | [Mutex] received everything.

2020-11-01 21:29:14 | [Mutex] isItemNotified: retracted:item:notifieditem-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779:admin@test-domain.com :: true

retrieveItemsFromNodes 0.303s
2020-11-01 21:29:13 |

2020-11-01 21:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:13 | ------------------------------------

2020-11-01 21:29:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-aad509b4-c09b-4351-bc23-50f5648c3ced</node><item-id>item-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779</item-id></data>

2020-11-01 21:29:13 | 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-aad509b4-c09b-4351-bc23-50f5648c3ced</value></node><item-id type="text-single" label="Item ID"><value>item-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779</value></item-id><item type="text-multi" label="Item"><value><item id="item-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779"><test>item-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779</test></item></value></item></result>

2020-11-01 21:29:13 | [Mutex] notify: [retrieved:item:item-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779:payload-matches:true:localhost]

2020-11-01 21:29:13 | [Mutex] received everything.

2020-11-01 21:29:13 | [Mutex] isItemNotified: retrieved:item:item-bdb65635-2aaf-4f7e-9c95-3ce1bbe57779:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-11-01 21:29:13 |

2020-11-01 21:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:13 | ------------------------------------

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

2020-11-01 21:29:13 | 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-aad509b4-c09b-4351-bc23-50f5648c3ced</value><value>node-49c7a6f0-15a9-4dac-b5d8-5be92a4d1636</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-01 21:29:13 |

2020-11-01 21:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:13 | ------------------------------------

2020-11-01 21:29:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-aad509b4-c09b-4351-bc23-50f5648c3ced)</node-pattern></data>

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

subscribeNodes 1.123s
2020-11-01 21:29:12 |

2020-11-01 21:29:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:12 | ------------------------------------

2020-11-01 21:29:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-aad509b4-c09b-4351-bc23-50f5648c3ced</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-01 21:29:12 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.368s
2020-11-01 21:29:14 |

2020-11-01 21:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:29:14 | ------------------------------------

2020-11-01 21:29:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-aad509b4-c09b-4351-bc23-50f5648c3ced</node><jids><value>admin@test-domain.com</value></jids></data>

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