Generated by TestNG with ReportNG at 22:42 PDT on Thursday 29 October 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.879s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2020-10-29 22:57:26 |

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

2020-10-29 22:57:26 | ------------------------------------

2020-10-29 22:57:26 | [Mutex] waiting for: [configured:node:node-873d4dd0-5d7b-4ce3-86f9-0684bf015518:node-bf1f9237-2f25-422c-9eb0-60203afc94ae]

2020-10-29 22:57:26 | [Mutex] received everything.

2020-10-29 22:57:26 | [Mutex] isItemNotified: configured:node:node-873d4dd0-5d7b-4ce3-86f9-0684bf015518:node-bf1f9237-2f25-422c-9eb0-60203afc94ae :: true

2020-10-29 22:57:27 | [Mutex] waiting for: [received:nodes:6df50aae-5e6e-4bd3-be77-148e6351e8f6:localhost]

2020-10-29 22:57:27 | [Mutex] received everything.

2020-10-29 22:57:27 | [Mutex] isItemNotified: received:node:6df50aae-5e6e-4bd3-be77-148e6351e8f6:localhost:node-873d4dd0-5d7b-4ce3-86f9-0684bf015518:Node 873d4dd0-5d7b-4ce3-86f9-0684bf015518 :: true

2020-10-29 22:57:27 | [Mutex] waiting for: [received:nodes:96b6092e-04c6-4729-a620-808b7bb6ec8f:localhost]

2020-10-29 22:57:27 | [Mutex] waiting for: [received:nodes:96b6092e-04c6-4729-a620-808b7bb6ec8f:localhost]

2020-10-29 22:57:27 | [Mutex] received everything.

2020-10-29 22:57:27 | [Mutex] isItemNotified: received:node:96b6092e-04c6-4729-a620-808b7bb6ec8f:localhost:node-873d4dd0-5d7b-4ce3-86f9-0684bf015518:Node 873d4dd0-5d7b-4ce3-86f9-0684bf015518 :: false

createNodes 1.434s
2020-10-29 22:57:23 |

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

2020-10-29 22:57:23 | ------------------------------------

2020-10-29 22:57:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-873d4dd0-5d7b-4ce3-86f9-0684bf015518</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 873d4dd0-5d7b-4ce3-86f9-0684bf015518</title></pubsub></data>

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

2020-10-29 22:57:25 | [Mutex] waiting for: [received:nodes:9f8d9a22-00fa-43eb-966e-20c6d9505bc6:localhost]

2020-10-29 22:57:25 | [Mutex] received everything.

2020-10-29 22:57:25 | [Mutex] isItemNotified: received:node:9f8d9a22-00fa-43eb-966e-20c6d9505bc6:localhost:node-873d4dd0-5d7b-4ce3-86f9-0684bf015518:Node 873d4dd0-5d7b-4ce3-86f9-0684bf015518 :: true

createSubnodes 1.042s
2020-10-29 22:57:25 |

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

2020-10-29 22:57:25 | ------------------------------------

2020-10-29 22:57:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bf1f9237-2f25-422c-9eb0-60203afc94ae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bf1f9237-2f25-422c-9eb0-60203afc94ae</title></pubsub></data>

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

2020-10-29 22:57:26 | [Mutex] waiting for: [received:nodes:fe310bbe-8a1d-4df7-80e6-ebdcd9addb94:localhost]

2020-10-29 22:57:26 | [Mutex] received everything.

2020-10-29 22:57:26 | [Mutex] isItemNotified: received:node:fe310bbe-8a1d-4df7-80e6-ebdcd9addb94:localhost:node-bf1f9237-2f25-422c-9eb0-60203afc94ae:Node bf1f9237-2f25-422c-9eb0-60203afc94ae :: true

deleteNodes 1.019s
2020-10-29 22:57:31 |

2020-10-29 22:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:57:31 | ------------------------------------

2020-10-29 22:57:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bf1f9237-2f25-422c-9eb0-60203afc94ae</node></data>

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

2020-10-29 22:57:32 | [Mutex] waiting for: [received:nodes:8a7f3fca-a0b0-4701-abfb-42fa644c78c8:localhost]

2020-10-29 22:57:32 | [Mutex] received everything.

2020-10-29 22:57:32 | [Mutex] isItemNotified: received:node:8a7f3fca-a0b0-4701-abfb-42fa644c78c8:localhost:node-bf1f9237-2f25-422c-9eb0-60203afc94ae:Node bf1f9237-2f25-422c-9eb0-60203afc94ae :: false

deleteSubnodes 1.136s
2020-10-29 22:57:30 |

2020-10-29 22:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:57:30 | ------------------------------------

2020-10-29 22:57:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-873d4dd0-5d7b-4ce3-86f9-0684bf015518</node></data>

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

2020-10-29 22:57:31 | [Mutex] waiting for: [received:nodes:ab69a737-ab79-41d8-b045-ec87ae5ccc9b:localhost]

2020-10-29 22:57:31 | [Mutex] received everything.

2020-10-29 22:57:31 | [Mutex] isItemNotified: received:node:ab69a737-ab79-41d8-b045-ec87ae5ccc9b:localhost:node-873d4dd0-5d7b-4ce3-86f9-0684bf015518:Node 873d4dd0-5d7b-4ce3-86f9-0684bf015518 :: false

2020-10-29 22:57:31 | [Mutex] waiting for: [received:nodes:fff81baa-635a-45c4-86b1-ed16a34f54a5:localhost]

2020-10-29 22:57:31 | [Mutex] received everything.

2020-10-29 22:57:31 | [Mutex] isItemNotified: received:node:fff81baa-635a-45c4-86b1-ed16a34f54a5:localhost:node-873d4dd0-5d7b-4ce3-86f9-0684bf015518:Node 873d4dd0-5d7b-4ce3-86f9-0684bf015518 :: false

publishItemsToNodes 0.286s
2020-10-29 22:57:28 |

2020-10-29 22:57:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:57:28 | ------------------------------------

2020-10-29 22:57:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-873d4dd0-5d7b-4ce3-86f9-0684bf015518</node><item-id>item-d7b574e9-b528-482e-81fa-61d3b1ad7dc3</item-id><entry><test>item-d7b574e9-b528-482e-81fa-61d3b1ad7dc3</test></entry></data>

2020-10-29 22:57: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-d7b574e9-b528-482e-81fa-61d3b1ad7dc3</value></item-id></result>

2020-10-29 22:57:28 | [Mutex] waiting for: [published:item:notifieditem-d7b574e9-b528-482e-81fa-61d3b1ad7dc3:admin@test-domain.com]

2020-10-29 22:57:28 | [Mutex] received everything.

2020-10-29 22:57:28 | [Mutex] isItemNotified: published:item:notifieditem-d7b574e9-b528-482e-81fa-61d3b1ad7dc3:admin@test-domain.com :: true

retractItemsFromNodes 0.204s
2020-10-29 22:57:29 |

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

2020-10-29 22:57:29 | ------------------------------------

2020-10-29 22:57:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-873d4dd0-5d7b-4ce3-86f9-0684bf015518</node><item-id>item-d7b574e9-b528-482e-81fa-61d3b1ad7dc3</item-id></data>

2020-10-29 22:57: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-d7b574e9-b528-482e-81fa-61d3b1ad7dc3</value></item-id></result>

2020-10-29 22:57:29 | [Mutex] received everything.

2020-10-29 22:57:29 | [Mutex] isItemNotified: retracted:item:notifieditem-d7b574e9-b528-482e-81fa-61d3b1ad7dc3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.231s
2020-10-29 22:57:28 |

2020-10-29 22:57:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:57:28 | ------------------------------------

2020-10-29 22:57:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-873d4dd0-5d7b-4ce3-86f9-0684bf015518</node><item-id>item-d7b574e9-b528-482e-81fa-61d3b1ad7dc3</item-id></data>

2020-10-29 22:57: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-873d4dd0-5d7b-4ce3-86f9-0684bf015518</value></node><item-id label="Item ID" type="text-single"><value>item-d7b574e9-b528-482e-81fa-61d3b1ad7dc3</value></item-id><item label="Item" type="text-multi"><value><item id="item-d7b574e9-b528-482e-81fa-61d3b1ad7dc3"><test>item-d7b574e9-b528-482e-81fa-61d3b1ad7dc3</test></item></value></item></result>

2020-10-29 22:57:29 | [Mutex] notify: [retrieved:item:item-d7b574e9-b528-482e-81fa-61d3b1ad7dc3:payload-matches:true:localhost]

2020-10-29 22:57:29 | [Mutex] received everything.

2020-10-29 22:57:29 | [Mutex] isItemNotified: retrieved:item:item-d7b574e9-b528-482e-81fa-61d3b1ad7dc3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-29 22:57:29 |

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

2020-10-29 22:57:29 | ------------------------------------

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

2020-10-29 22:57:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-873d4dd0-5d7b-4ce3-86f9-0684bf015518</value><value>test</value><value>node-bf1f9237-2f25-422c-9eb0-60203afc94ae</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-10-29 22:57:29 |

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

2020-10-29 22:57:29 | ------------------------------------

2020-10-29 22:57: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-873d4dd0-5d7b-4ce3-86f9-0684bf015518)</node-pattern></data>

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

subscribeNodes 1.160s
2020-10-29 22:57:27 |

2020-10-29 22:57:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:57:27 | ------------------------------------

2020-10-29 22:57:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-873d4dd0-5d7b-4ce3-86f9-0684bf015518</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-29 22:57: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.292s
2020-10-29 22:57:29 |

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

2020-10-29 22:57:29 | ------------------------------------

2020-10-29 22:57:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-873d4dd0-5d7b-4ce3-86f9-0684bf015518</node><jids><value>admin@test-domain.com</value></jids></data>

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