Generated by TestNG with ReportNG at 11:32 PDT on Wednesday 07 April 2021
root@87f6aca6b6f2 / 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.483s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.130s
2021-04-07 11:50:50 |

2021-04-07 11:50:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:50 | ------------------------------------

2021-04-07 11:50:50 | [Mutex] waiting for: [configured:node:node-f192badc-f8a8-4dcc-8922-c89dc5b00072:node-b54d7374-5057-4e2d-b99e-e4e6591d773a]

2021-04-07 11:50:50 | [Mutex] received everything.

2021-04-07 11:50:50 | [Mutex] isItemNotified: configured:node:node-f192badc-f8a8-4dcc-8922-c89dc5b00072:node-b54d7374-5057-4e2d-b99e-e4e6591d773a :: true

2021-04-07 11:50:51 | [Mutex] waiting for: [received:nodes:f2e72d0a-ee2a-47cb-be17-996342a46af0:localhost]

2021-04-07 11:50:51 | [Mutex] received everything.

2021-04-07 11:50:51 | [Mutex] isItemNotified: received:node:f2e72d0a-ee2a-47cb-be17-996342a46af0:localhost:node-f192badc-f8a8-4dcc-8922-c89dc5b00072:Node f192badc-f8a8-4dcc-8922-c89dc5b00072 :: true

2021-04-07 11:50:51 | [Mutex] waiting for: [received:nodes:ab7ac2f5-b9d0-42f6-b92c-64886795f076:localhost]

2021-04-07 11:50:51 | [Mutex] waiting for: [received:nodes:ab7ac2f5-b9d0-42f6-b92c-64886795f076:localhost]

2021-04-07 11:50:51 | [Mutex] waiting for: [received:nodes:ab7ac2f5-b9d0-42f6-b92c-64886795f076:localhost]

2021-04-07 11:50:51 | [Mutex] received everything.

2021-04-07 11:50:51 | [Mutex] isItemNotified: received:node:ab7ac2f5-b9d0-42f6-b92c-64886795f076:localhost:node-f192badc-f8a8-4dcc-8922-c89dc5b00072:Node f192badc-f8a8-4dcc-8922-c89dc5b00072 :: false

createNodes 1.696s
2021-04-07 11:50:47 |

2021-04-07 11:50:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:47 | ------------------------------------

2021-04-07 11:50:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f192badc-f8a8-4dcc-8922-c89dc5b00072</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f192badc-f8a8-4dcc-8922-c89dc5b00072</title></pubsub></data>

2021-04-07 11:50:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 11:50:49 | [Mutex] waiting for: [received:nodes:d91df9b9-e21f-4cf5-918a-16894aa3115d:localhost]

2021-04-07 11:50:49 | [Mutex] received everything.

2021-04-07 11:50:49 | [Mutex] isItemNotified: received:node:d91df9b9-e21f-4cf5-918a-16894aa3115d:localhost:node-f192badc-f8a8-4dcc-8922-c89dc5b00072:Node f192badc-f8a8-4dcc-8922-c89dc5b00072 :: true

createSubnodes 1.028s
2021-04-07 11:50:49 |

2021-04-07 11:50:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:49 | ------------------------------------

2021-04-07 11:50:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b54d7374-5057-4e2d-b99e-e4e6591d773a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b54d7374-5057-4e2d-b99e-e4e6591d773a</title></pubsub></data>

2021-04-07 11:50:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 11:50:50 | [Mutex] waiting for: [received:nodes:27bdf9e2-6146-4f93-8dca-9e9b0c4193c5:localhost]

2021-04-07 11:50:50 | [Mutex] received everything.

2021-04-07 11:50:50 | [Mutex] isItemNotified: received:node:27bdf9e2-6146-4f93-8dca-9e9b0c4193c5:localhost:node-b54d7374-5057-4e2d-b99e-e4e6591d773a:Node b54d7374-5057-4e2d-b99e-e4e6591d773a :: true

deleteNodes 1.022s
2021-04-07 11:50:56 |

2021-04-07 11:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:56 | ------------------------------------

2021-04-07 11:50:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b54d7374-5057-4e2d-b99e-e4e6591d773a</node></data>

2021-04-07 11:50:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 11:50:57 | [Mutex] waiting for: [received:nodes:1e017434-9b01-43d5-b392-570beea8d25f:localhost]

2021-04-07 11:50:57 | [Mutex] received everything.

2021-04-07 11:50:57 | [Mutex] isItemNotified: received:node:1e017434-9b01-43d5-b392-570beea8d25f:localhost:node-b54d7374-5057-4e2d-b99e-e4e6591d773a:Node b54d7374-5057-4e2d-b99e-e4e6591d773a :: false

deleteSubnodes 1.155s
2021-04-07 11:50:54 |

2021-04-07 11:50:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:54 | ------------------------------------

2021-04-07 11:50:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f192badc-f8a8-4dcc-8922-c89dc5b00072</node></data>

2021-04-07 11:50:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-07 11:50:55 | [Mutex] waiting for: [received:nodes:33501059-906b-46c2-8efe-c1a56da44240:localhost]

2021-04-07 11:50:56 | [Mutex] received everything.

2021-04-07 11:50:56 | [Mutex] isItemNotified: received:node:33501059-906b-46c2-8efe-c1a56da44240:localhost:node-f192badc-f8a8-4dcc-8922-c89dc5b00072:Node f192badc-f8a8-4dcc-8922-c89dc5b00072 :: false

2021-04-07 11:50:56 | [Mutex] waiting for: [received:nodes:5bcfc025-3b03-4fd3-b135-152c8ec40a39:localhost]

2021-04-07 11:50:56 | [Mutex] received everything.

2021-04-07 11:50:56 | [Mutex] isItemNotified: received:node:5bcfc025-3b03-4fd3-b135-152c8ec40a39:localhost:node-f192badc-f8a8-4dcc-8922-c89dc5b00072:Node f192badc-f8a8-4dcc-8922-c89dc5b00072 :: false

publishItemsToNodes 0.268s
2021-04-07 11:50:52 |

2021-04-07 11:50:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:52 | ------------------------------------

2021-04-07 11:50:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f192badc-f8a8-4dcc-8922-c89dc5b00072</node><item-id>item-4d202ab8-49e2-4971-a67a-5a4a7546b665</item-id><entry><test>item-4d202ab8-49e2-4971-a67a-5a4a7546b665</test></entry></data>

2021-04-07 11:50:52 | 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-4d202ab8-49e2-4971-a67a-5a4a7546b665</value></item-id></result>

2021-04-07 11:50:52 | [Mutex] waiting for: [published:item:notifieditem-4d202ab8-49e2-4971-a67a-5a4a7546b665:admin@test-domain.com]

2021-04-07 11:50:52 | [Mutex] received everything.

2021-04-07 11:50:52 | [Mutex] isItemNotified: published:item:notifieditem-4d202ab8-49e2-4971-a67a-5a4a7546b665:admin@test-domain.com :: true

retractItemsFromNodes 0.343s
2021-04-07 11:50:53 |

2021-04-07 11:50:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:53 | ------------------------------------

2021-04-07 11:50:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f192badc-f8a8-4dcc-8922-c89dc5b00072</node><item-id>item-4d202ab8-49e2-4971-a67a-5a4a7546b665</item-id></data>

2021-04-07 11:50:53 | 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-4d202ab8-49e2-4971-a67a-5a4a7546b665</value></item-id></result>

2021-04-07 11:50:53 | [Mutex] received everything.

2021-04-07 11:50:53 | [Mutex] isItemNotified: retracted:item:notifieditem-4d202ab8-49e2-4971-a67a-5a4a7546b665:admin@test-domain.com :: true

retrieveItemsFromNodes 0.312s
2021-04-07 11:50:52 |

2021-04-07 11:50:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:52 | ------------------------------------

2021-04-07 11:50:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f192badc-f8a8-4dcc-8922-c89dc5b00072</node><item-id>item-4d202ab8-49e2-4971-a67a-5a4a7546b665</item-id></data>

2021-04-07 11:50:53 | 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-f192badc-f8a8-4dcc-8922-c89dc5b00072</value></node><item-id label="Item ID" type="text-single"><value>item-4d202ab8-49e2-4971-a67a-5a4a7546b665</value></item-id><item label="Item" type="text-multi"><value><item id="item-4d202ab8-49e2-4971-a67a-5a4a7546b665"><test>item-4d202ab8-49e2-4971-a67a-5a4a7546b665</test></item></value></item></result>

2021-04-07 11:50:53 | [Mutex] notify: [retrieved:item:item-4d202ab8-49e2-4971-a67a-5a4a7546b665:payload-matches:true:localhost]

2021-04-07 11:50:53 | [Mutex] received everything.

2021-04-07 11:50:53 | [Mutex] isItemNotified: retrieved:item:item-4d202ab8-49e2-4971-a67a-5a4a7546b665:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2021-04-07 11:50:53 |

2021-04-07 11:50:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:53 | ------------------------------------

2021-04-07 11:50:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-07 11:50:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b54d7374-5057-4e2d-b99e-e4e6591d773a</value><value>test</value><value>node-f192badc-f8a8-4dcc-8922-c89dc5b00072</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-07 11:50:53 |

2021-04-07 11:50:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:53 | ------------------------------------

2021-04-07 11:50:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f192badc-f8a8-4dcc-8922-c89dc5b00072)</node-pattern></data>

2021-04-07 11:50:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.194s
2021-04-07 11:50:51 |

2021-04-07 11:50:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:51 | ------------------------------------

2021-04-07 11:50:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f192badc-f8a8-4dcc-8922-c89dc5b00072</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-07 11:50:51 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.291s
2021-04-07 11:50:53 |

2021-04-07 11:50:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-07 11:50:53 | ------------------------------------

2021-04-07 11:50:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f192badc-f8a8-4dcc-8922-c89dc5b00072</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-07 11:50:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>