Generated by TestNG with ReportNG at 18:48 PDT on Tuesday 25 August 2020
root@9adf47d9b258 / 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.191s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2020-08-25 19:03:21 |

2020-08-25 19:03:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:03:21 | ------------------------------------

2020-08-25 19:03:21 | [Mutex] waiting for: [configured:node:node-ab373641-13b0-4c20-8a97-09459827c2fc:node-0dad3abf-37f0-4fb6-a383-b88880167dd0]

2020-08-25 19:03:21 | [Mutex] received everything.

2020-08-25 19:03:21 | [Mutex] isItemNotified: configured:node:node-ab373641-13b0-4c20-8a97-09459827c2fc:node-0dad3abf-37f0-4fb6-a383-b88880167dd0 :: true

2020-08-25 19:03:22 | [Mutex] waiting for: [received:nodes:7ff11318-c3e4-42ad-bc85-fae0d724b973:localhost]

2020-08-25 19:03:22 | [Mutex] received everything.

2020-08-25 19:03:22 | [Mutex] isItemNotified: received:node:7ff11318-c3e4-42ad-bc85-fae0d724b973:localhost:node-ab373641-13b0-4c20-8a97-09459827c2fc:Node ab373641-13b0-4c20-8a97-09459827c2fc :: true

2020-08-25 19:03:22 | [Mutex] waiting for: [received:nodes:97746628-47a9-44c9-a1c1-5edc97f09024:localhost]

2020-08-25 19:03:22 | [Mutex] received everything.

2020-08-25 19:03:22 | [Mutex] isItemNotified: received:node:97746628-47a9-44c9-a1c1-5edc97f09024:localhost:node-ab373641-13b0-4c20-8a97-09459827c2fc:Node ab373641-13b0-4c20-8a97-09459827c2fc :: false

createNodes 1.569s
2020-08-25 19:03:18 |

2020-08-25 19:03:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:03:18 | ------------------------------------

2020-08-25 19:03:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ab373641-13b0-4c20-8a97-09459827c2fc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ab373641-13b0-4c20-8a97-09459827c2fc</title></pubsub></data>

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

2020-08-25 19:03:20 | [Mutex] waiting for: [received:nodes:be4cbb9b-7ac3-4ed9-bffb-e2c741a30be0:localhost]

2020-08-25 19:03:20 | [Mutex] received everything.

2020-08-25 19:03:20 | [Mutex] isItemNotified: received:node:be4cbb9b-7ac3-4ed9-bffb-e2c741a30be0:localhost:node-ab373641-13b0-4c20-8a97-09459827c2fc:Node ab373641-13b0-4c20-8a97-09459827c2fc :: true

createSubnodes 1.030s
2020-08-25 19:03:20 |

2020-08-25 19:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:03:20 | ------------------------------------

2020-08-25 19:03:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0dad3abf-37f0-4fb6-a383-b88880167dd0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0dad3abf-37f0-4fb6-a383-b88880167dd0</title></pubsub></data>

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

2020-08-25 19:03:21 | [Mutex] waiting for: [received:nodes:ae80009a-1e04-4599-9568-f6f8f0de9231:localhost]

2020-08-25 19:03:21 | [Mutex] received everything.

2020-08-25 19:03:21 | [Mutex] isItemNotified: received:node:ae80009a-1e04-4599-9568-f6f8f0de9231:localhost:node-0dad3abf-37f0-4fb6-a383-b88880167dd0:Node 0dad3abf-37f0-4fb6-a383-b88880167dd0 :: true

deleteNodes 1.021s
2020-08-25 19:03:26 |

2020-08-25 19:03:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:03:26 | ------------------------------------

2020-08-25 19:03:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0dad3abf-37f0-4fb6-a383-b88880167dd0</node></data>

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

2020-08-25 19:03:27 | [Mutex] waiting for: [received:nodes:f8ba7804-bc13-4f92-8c1c-003c5b0d5737:localhost]

2020-08-25 19:03:27 | [Mutex] waiting for: [received:nodes:f8ba7804-bc13-4f92-8c1c-003c5b0d5737:localhost]

2020-08-25 19:03:27 | [Mutex] received everything.

2020-08-25 19:03:27 | [Mutex] isItemNotified: received:node:f8ba7804-bc13-4f92-8c1c-003c5b0d5737:localhost:node-0dad3abf-37f0-4fb6-a383-b88880167dd0:Node 0dad3abf-37f0-4fb6-a383-b88880167dd0 :: false

deleteSubnodes 1.112s
2020-08-25 19:03:25 |

2020-08-25 19:03:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:03:25 | ------------------------------------

2020-08-25 19:03:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ab373641-13b0-4c20-8a97-09459827c2fc</node></data>

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

2020-08-25 19:03:26 | [Mutex] waiting for: [received:nodes:fc1e94a0-7090-4f04-b986-f0eff6ee93dd:localhost]

2020-08-25 19:03:26 | [Mutex] received everything.

2020-08-25 19:03:26 | [Mutex] isItemNotified: received:node:fc1e94a0-7090-4f04-b986-f0eff6ee93dd:localhost:node-ab373641-13b0-4c20-8a97-09459827c2fc:Node ab373641-13b0-4c20-8a97-09459827c2fc :: false

2020-08-25 19:03:26 | [Mutex] waiting for: [received:nodes:73157188-8cd3-451b-92ac-b064efd6b28d:localhost]

2020-08-25 19:03:26 | [Mutex] received everything.

2020-08-25 19:03:26 | [Mutex] isItemNotified: received:node:73157188-8cd3-451b-92ac-b064efd6b28d:localhost:node-ab373641-13b0-4c20-8a97-09459827c2fc:Node ab373641-13b0-4c20-8a97-09459827c2fc :: false

publishItemsToNodes 0.248s
2020-08-25 19:03:23 |

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

2020-08-25 19:03:23 | ------------------------------------

2020-08-25 19:03:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ab373641-13b0-4c20-8a97-09459827c2fc</node><item-id>item-17d29fff-f20e-4840-9033-48d86cded7d6</item-id><entry><test>item-17d29fff-f20e-4840-9033-48d86cded7d6</test></entry></data>

2020-08-25 19:03:23 | 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-17d29fff-f20e-4840-9033-48d86cded7d6</value></item-id></result>

2020-08-25 19:03:23 | [Mutex] waiting for: [published:item:notifieditem-17d29fff-f20e-4840-9033-48d86cded7d6:admin@test-domain.com]

2020-08-25 19:03:23 | [Mutex] received everything.

2020-08-25 19:03:23 | [Mutex] isItemNotified: published:item:notifieditem-17d29fff-f20e-4840-9033-48d86cded7d6:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2020-08-25 19:03:23 |

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

2020-08-25 19:03:23 | ------------------------------------

2020-08-25 19:03:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ab373641-13b0-4c20-8a97-09459827c2fc</node><item-id>item-17d29fff-f20e-4840-9033-48d86cded7d6</item-id></data>

2020-08-25 19:03:24 | 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-17d29fff-f20e-4840-9033-48d86cded7d6</value></item-id></result>

2020-08-25 19:03:24 | [Mutex] received everything.

2020-08-25 19:03:24 | [Mutex] isItemNotified: retracted:item:notifieditem-17d29fff-f20e-4840-9033-48d86cded7d6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.199s
2020-08-25 19:03:23 |

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

2020-08-25 19:03:23 | ------------------------------------

2020-08-25 19:03:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ab373641-13b0-4c20-8a97-09459827c2fc</node><item-id>item-17d29fff-f20e-4840-9033-48d86cded7d6</item-id></data>

2020-08-25 19:03:23 | 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-ab373641-13b0-4c20-8a97-09459827c2fc</value></node><item-id type="text-single" label="Item ID"><value>item-17d29fff-f20e-4840-9033-48d86cded7d6</value></item-id><item type="text-multi" label="Item"><value><item id="item-17d29fff-f20e-4840-9033-48d86cded7d6"><test>item-17d29fff-f20e-4840-9033-48d86cded7d6</test></item></value></item></result>

2020-08-25 19:03:23 | [Mutex] notify: [retrieved:item:item-17d29fff-f20e-4840-9033-48d86cded7d6:payload-matches:true:localhost]

2020-08-25 19:03:23 | [Mutex] received everything.

2020-08-25 19:03:23 | [Mutex] isItemNotified: retrieved:item:item-17d29fff-f20e-4840-9033-48d86cded7d6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-08-25 19:03:23 |

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

2020-08-25 19:03:23 | ------------------------------------

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

2020-08-25 19:03:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-0dad3abf-37f0-4fb6-a383-b88880167dd0</value><value>test</value><value>node-ab373641-13b0-4c20-8a97-09459827c2fc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-08-25 19:03:23 |

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

2020-08-25 19:03:23 | ------------------------------------

2020-08-25 19:03: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-ab373641-13b0-4c20-8a97-09459827c2fc)</node-pattern></data>

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

subscribeNodes 1.100s
2020-08-25 19:03:22 |

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

2020-08-25 19:03:22 | ------------------------------------

2020-08-25 19:03:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ab373641-13b0-4c20-8a97-09459827c2fc</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-25 19:03: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.311s
2020-08-25 19:03:24 |

2020-08-25 19:03:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-25 19:03:24 | ------------------------------------

2020-08-25 19:03:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ab373641-13b0-4c20-8a97-09459827c2fc</node><jids><value>admin@test-domain.com</value></jids></data>

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