Generated by TestNG with ReportNG at 22:21 PDT on Thursday 18 March 2021
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.951s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2021-03-18 22:38:03 |

2021-03-18 22:38:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:03 | ------------------------------------

2021-03-18 22:38:03 | [Mutex] waiting for: [configured:node:node-9e742652-f38c-43ce-9f32-1be569a27152:node-b327d921-4035-4088-a823-c88d645617df]

2021-03-18 22:38:03 | [Mutex] received everything.

2021-03-18 22:38:03 | [Mutex] isItemNotified: configured:node:node-9e742652-f38c-43ce-9f32-1be569a27152:node-b327d921-4035-4088-a823-c88d645617df :: true

2021-03-18 22:38:04 | [Mutex] waiting for: [received:nodes:7f9a67d7-cf8e-4d57-83b3-ac005c899ceb:localhost]

2021-03-18 22:38:04 | [Mutex] received everything.

2021-03-18 22:38:04 | [Mutex] isItemNotified: received:node:7f9a67d7-cf8e-4d57-83b3-ac005c899ceb:localhost:node-9e742652-f38c-43ce-9f32-1be569a27152:Node 9e742652-f38c-43ce-9f32-1be569a27152 :: true

2021-03-18 22:38:04 | [Mutex] waiting for: [received:nodes:d5913e85-71d2-433c-b9ea-e20798b75eae:localhost]

2021-03-18 22:38:04 | [Mutex] received everything.

2021-03-18 22:38:04 | [Mutex] isItemNotified: received:node:d5913e85-71d2-433c-b9ea-e20798b75eae:localhost:node-9e742652-f38c-43ce-9f32-1be569a27152:Node 9e742652-f38c-43ce-9f32-1be569a27152 :: false

createNodes 1.469s
2021-03-18 22:38:00 |

2021-03-18 22:38:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:00 | ------------------------------------

2021-03-18 22:38:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9e742652-f38c-43ce-9f32-1be569a27152</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9e742652-f38c-43ce-9f32-1be569a27152</title></pubsub></data>

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

2021-03-18 22:38:02 | [Mutex] waiting for: [received:nodes:9b343682-9e13-4e0d-bc88-df3cc7fbfe14:localhost]

2021-03-18 22:38:02 | [Mutex] received everything.

2021-03-18 22:38:02 | [Mutex] isItemNotified: received:node:9b343682-9e13-4e0d-bc88-df3cc7fbfe14:localhost:node-9e742652-f38c-43ce-9f32-1be569a27152:Node 9e742652-f38c-43ce-9f32-1be569a27152 :: true

createSubnodes 1.034s
2021-03-18 22:38:02 |

2021-03-18 22:38:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:02 | ------------------------------------

2021-03-18 22:38:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b327d921-4035-4088-a823-c88d645617df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b327d921-4035-4088-a823-c88d645617df</title></pubsub></data>

2021-03-18 22:38:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-18 22:38:03 | [Mutex] waiting for: [received:nodes:00bc7a20-69af-442c-ac97-e9d8049baf80:localhost]

2021-03-18 22:38:03 | [Mutex] received everything.

2021-03-18 22:38:03 | [Mutex] isItemNotified: received:node:00bc7a20-69af-442c-ac97-e9d8049baf80:localhost:node-b327d921-4035-4088-a823-c88d645617df:Node b327d921-4035-4088-a823-c88d645617df :: true

deleteNodes 1.019s
2021-03-18 22:38:08 |

2021-03-18 22:38:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:08 | ------------------------------------

2021-03-18 22:38:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b327d921-4035-4088-a823-c88d645617df</node></data>

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

2021-03-18 22:38:09 | [Mutex] waiting for: [received:nodes:58523543-5aa1-4dcd-9486-6e3597a1856b:localhost]

2021-03-18 22:38:09 | [Mutex] received everything.

2021-03-18 22:38:09 | [Mutex] isItemNotified: received:node:58523543-5aa1-4dcd-9486-6e3597a1856b:localhost:node-b327d921-4035-4088-a823-c88d645617df:Node b327d921-4035-4088-a823-c88d645617df :: false

deleteSubnodes 1.122s
2021-03-18 22:38:07 |

2021-03-18 22:38:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:07 | ------------------------------------

2021-03-18 22:38:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9e742652-f38c-43ce-9f32-1be569a27152</node></data>

2021-03-18 22:38:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-18 22:38:08 | [Mutex] waiting for: [received:nodes:d0bb79f6-c2a0-4d5e-a0d3-f09ae6b5a09f:localhost]

2021-03-18 22:38:08 | [Mutex] waiting for: [received:nodes:d0bb79f6-c2a0-4d5e-a0d3-f09ae6b5a09f:localhost]

2021-03-18 22:38:08 | [Mutex] received everything.

2021-03-18 22:38:08 | [Mutex] isItemNotified: received:node:d0bb79f6-c2a0-4d5e-a0d3-f09ae6b5a09f:localhost:node-9e742652-f38c-43ce-9f32-1be569a27152:Node 9e742652-f38c-43ce-9f32-1be569a27152 :: false

2021-03-18 22:38:08 | [Mutex] waiting for: [received:nodes:d08c1ade-d50e-494f-8881-4febd899c1a6:localhost]

2021-03-18 22:38:08 | [Mutex] received everything.

2021-03-18 22:38:08 | [Mutex] isItemNotified: received:node:d08c1ade-d50e-494f-8881-4febd899c1a6:localhost:node-9e742652-f38c-43ce-9f32-1be569a27152:Node 9e742652-f38c-43ce-9f32-1be569a27152 :: false

publishItemsToNodes 0.207s
2021-03-18 22:38:05 |

2021-03-18 22:38:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:05 | ------------------------------------

2021-03-18 22:38:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9e742652-f38c-43ce-9f32-1be569a27152</node><item-id>item-625eb651-481b-4c20-ab02-e968a2ffe7ab</item-id><entry><test>item-625eb651-481b-4c20-ab02-e968a2ffe7ab</test></entry></data>

2021-03-18 22:38:05 | 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-625eb651-481b-4c20-ab02-e968a2ffe7ab</value></item-id></result>

2021-03-18 22:38:05 | [Mutex] received everything.

2021-03-18 22:38:05 | [Mutex] isItemNotified: published:item:notifieditem-625eb651-481b-4c20-ab02-e968a2ffe7ab:admin@test-domain.com :: true

retractItemsFromNodes 0.224s
2021-03-18 22:38:06 |

2021-03-18 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:06 | ------------------------------------

2021-03-18 22:38:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9e742652-f38c-43ce-9f32-1be569a27152</node><item-id>item-625eb651-481b-4c20-ab02-e968a2ffe7ab</item-id></data>

2021-03-18 22:38:06 | 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-625eb651-481b-4c20-ab02-e968a2ffe7ab</value></item-id></result>

2021-03-18 22:38:06 | [Mutex] received everything.

2021-03-18 22:38:06 | [Mutex] isItemNotified: retracted:item:notifieditem-625eb651-481b-4c20-ab02-e968a2ffe7ab:admin@test-domain.com :: true

retrieveItemsFromNodes 0.258s
2021-03-18 22:38:05 |

2021-03-18 22:38:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:05 | ------------------------------------

2021-03-18 22:38:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9e742652-f38c-43ce-9f32-1be569a27152</node><item-id>item-625eb651-481b-4c20-ab02-e968a2ffe7ab</item-id></data>

2021-03-18 22:38: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-9e742652-f38c-43ce-9f32-1be569a27152</value></node><item-id label="Item ID" type="text-single"><value>item-625eb651-481b-4c20-ab02-e968a2ffe7ab</value></item-id><item label="Item" type="text-multi"><value><item id="item-625eb651-481b-4c20-ab02-e968a2ffe7ab"><test>item-625eb651-481b-4c20-ab02-e968a2ffe7ab</test></item></value></item></result>

2021-03-18 22:38:05 | [Mutex] notify: [retrieved:item:item-625eb651-481b-4c20-ab02-e968a2ffe7ab:payload-matches:true:localhost]

2021-03-18 22:38:05 | [Mutex] received everything.

2021-03-18 22:38:05 | [Mutex] isItemNotified: retrieved:item:item-625eb651-481b-4c20-ab02-e968a2ffe7ab:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-03-18 22:38:05 |

2021-03-18 22:38:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:05 | ------------------------------------

2021-03-18 22:38:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-18 22:38:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b327d921-4035-4088-a823-c88d645617df</value><value>test</value><value>node-9e742652-f38c-43ce-9f32-1be569a27152</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-03-18 22:38:06 |

2021-03-18 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:06 | ------------------------------------

2021-03-18 22:38:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9e742652-f38c-43ce-9f32-1be569a27152)</node-pattern></data>

2021-03-18 22:38:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.191s
2021-03-18 22:38:04 |

2021-03-18 22:38:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:04 | ------------------------------------

2021-03-18 22:38:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9e742652-f38c-43ce-9f32-1be569a27152</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-18 22:38:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.308s
2021-03-18 22:38:06 |

2021-03-18 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:38:06 | ------------------------------------

2021-03-18 22:38:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9e742652-f38c-43ce-9f32-1be569a27152</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-18 22:38:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>