Generated by TestNG with ReportNG at 22:44 PDT on Thursday 01 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.736s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2020-10-01 22:58:02 |

2020-10-01 22:58:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:02 | ------------------------------------

2020-10-01 22:58:02 | [Mutex] waiting for: [configured:node:node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232:node-0d148139-fcc0-4d4e-b5e6-208d1248ff49]

2020-10-01 22:58:02 | [Mutex] received everything.

2020-10-01 22:58:02 | [Mutex] isItemNotified: configured:node:node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232:node-0d148139-fcc0-4d4e-b5e6-208d1248ff49 :: true

2020-10-01 22:58:03 | [Mutex] waiting for: [received:nodes:b575ed12-03ca-4fa1-9ce6-b9000ae73569:localhost]

2020-10-01 22:58:03 | [Mutex] waiting for: [received:nodes:b575ed12-03ca-4fa1-9ce6-b9000ae73569:localhost]

2020-10-01 22:58:03 | [Mutex] received everything.

2020-10-01 22:58:03 | [Mutex] isItemNotified: received:node:b575ed12-03ca-4fa1-9ce6-b9000ae73569:localhost:node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232:Node 02fe0921-6dc8-4f66-b6cf-7f31d72d3232 :: true

2020-10-01 22:58:03 | [Mutex] waiting for: [received:nodes:a5b99c13-b238-4daa-917b-ecc0e2777f30:localhost]

2020-10-01 22:58:03 | [Mutex] received everything.

2020-10-01 22:58:03 | [Mutex] isItemNotified: received:node:a5b99c13-b238-4daa-917b-ecc0e2777f30:localhost:node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232:Node 02fe0921-6dc8-4f66-b6cf-7f31d72d3232 :: false

createNodes 1.393s
2020-10-01 22:58:00 |

2020-10-01 22:58:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:00 | ------------------------------------

2020-10-01 22:58:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 02fe0921-6dc8-4f66-b6cf-7f31d72d3232</title></pubsub></data>

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

2020-10-01 22:58:01 | [Mutex] waiting for: [received:nodes:20427034-22d6-4f92-8efa-d9eda5648b03:localhost]

2020-10-01 22:58:01 | [Mutex] received everything.

2020-10-01 22:58:01 | [Mutex] isItemNotified: received:node:20427034-22d6-4f92-8efa-d9eda5648b03:localhost:node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232:Node 02fe0921-6dc8-4f66-b6cf-7f31d72d3232 :: true

createSubnodes 1.037s
2020-10-01 22:58:01 |

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

2020-10-01 22:58:01 | ------------------------------------

2020-10-01 22:58:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0d148139-fcc0-4d4e-b5e6-208d1248ff49</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0d148139-fcc0-4d4e-b5e6-208d1248ff49</title></pubsub></data>

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

2020-10-01 22:58:02 | [Mutex] waiting for: [received:nodes:fedb32f4-bfd1-41e0-9b90-9ff915673507:localhost]

2020-10-01 22:58:02 | [Mutex] waiting for: [received:nodes:fedb32f4-bfd1-41e0-9b90-9ff915673507:localhost]

2020-10-01 22:58:02 | [Mutex] received everything.

2020-10-01 22:58:02 | [Mutex] isItemNotified: received:node:fedb32f4-bfd1-41e0-9b90-9ff915673507:localhost:node-0d148139-fcc0-4d4e-b5e6-208d1248ff49:Node 0d148139-fcc0-4d4e-b5e6-208d1248ff49 :: true

deleteNodes 1.022s
2020-10-01 22:58:07 |

2020-10-01 22:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:07 | ------------------------------------

2020-10-01 22:58:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0d148139-fcc0-4d4e-b5e6-208d1248ff49</node></data>

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

2020-10-01 22:58:08 | [Mutex] waiting for: [received:nodes:009628a8-873d-402e-b6b1-1c4d3cfc62a0:localhost]

2020-10-01 22:58:08 | [Mutex] received everything.

2020-10-01 22:58:08 | [Mutex] isItemNotified: received:node:009628a8-873d-402e-b6b1-1c4d3cfc62a0:localhost:node-0d148139-fcc0-4d4e-b5e6-208d1248ff49:Node 0d148139-fcc0-4d4e-b5e6-208d1248ff49 :: false

deleteSubnodes 1.147s
2020-10-01 22:58:06 |

2020-10-01 22:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:06 | ------------------------------------

2020-10-01 22:58:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232</node></data>

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

2020-10-01 22:58:07 | [Mutex] waiting for: [received:nodes:47171a5c-d866-4f79-8550-e9cc463547cd:localhost]

2020-10-01 22:58:07 | [Mutex] waiting for: [received:nodes:47171a5c-d866-4f79-8550-e9cc463547cd:localhost]

2020-10-01 22:58:07 | [Mutex] received everything.

2020-10-01 22:58:07 | [Mutex] isItemNotified: received:node:47171a5c-d866-4f79-8550-e9cc463547cd:localhost:node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232:Node 02fe0921-6dc8-4f66-b6cf-7f31d72d3232 :: false

2020-10-01 22:58:07 | [Mutex] waiting for: [received:nodes:902642bd-d07a-45d0-923b-b101e2724e1c:localhost]

2020-10-01 22:58:07 | [Mutex] received everything.

2020-10-01 22:58:07 | [Mutex] isItemNotified: received:node:902642bd-d07a-45d0-923b-b101e2724e1c:localhost:node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232:Node 02fe0921-6dc8-4f66-b6cf-7f31d72d3232 :: false

publishItemsToNodes 0.231s
2020-10-01 22:58:04 |

2020-10-01 22:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:04 | ------------------------------------

2020-10-01 22:58:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232</node><item-id>item-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c</item-id><entry><test>item-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c</test></entry></data>

2020-10-01 22:58:04 | 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-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c</value></item-id></result>

2020-10-01 22:58:04 | [Mutex] received everything.

2020-10-01 22:58:04 | [Mutex] isItemNotified: published:item:notifieditem-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c:admin@test-domain.com :: true

retractItemsFromNodes 0.164s
2020-10-01 22:58:05 |

2020-10-01 22:58:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:05 | ------------------------------------

2020-10-01 22:58:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232</node><item-id>item-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c</item-id></data>

2020-10-01 22:58:05 | 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-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c</value></item-id></result>

2020-10-01 22:58:05 | [Mutex] received everything.

2020-10-01 22:58:05 | [Mutex] isItemNotified: retracted:item:notifieditem-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2020-10-01 22:58:04 |

2020-10-01 22:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:04 | ------------------------------------

2020-10-01 22:58:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232</node><item-id>item-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c</item-id></data>

2020-10-01 22:58:05 | 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-02fe0921-6dc8-4f66-b6cf-7f31d72d3232</value></node><item-id label="Item ID" type="text-single"><value>item-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c</value></item-id><item label="Item" type="text-multi"><value><item id="item-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c"><test>item-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c</test></item></value></item></result>

2020-10-01 22:58:05 | [Mutex] notify: [retrieved:item:item-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c:payload-matches:true:localhost]

2020-10-01 22:58:05 | [Mutex] received everything.

2020-10-01 22:58:05 | [Mutex] isItemNotified: retrieved:item:item-eb1abdb1-5427-4bfe-8fb8-b5e675bf644c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-10-01 22:58:05 |

2020-10-01 22:58:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:05 | ------------------------------------

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

2020-10-01 22:58:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-0d148139-fcc0-4d4e-b5e6-208d1248ff49</value><value>test</value><value>node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-10-01 22:58:05 |

2020-10-01 22:58:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:05 | ------------------------------------

2020-10-01 22:58:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232)</node-pattern></data>

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

subscribeNodes 1.093s
2020-10-01 22:58:03 |

2020-10-01 22:58:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:03 | ------------------------------------

2020-10-01 22:58:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.218s
2020-10-01 22:58:05 |

2020-10-01 22:58:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:58:05 | ------------------------------------

2020-10-01 22:58:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-02fe0921-6dc8-4f66-b6cf-7f31d72d3232</node><jids><value>admin@test-domain.com</value></jids></data>

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