Generated by TestNG with ReportNG at 22:54 PDT on Monday 19 October 2020
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.253s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.141s
2020-10-19 23:11:41 |

2020-10-19 23:11:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:41 | ------------------------------------

2020-10-19 23:11:41 | [Mutex] waiting for: [configured:node:node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc:node-4596a86b-0832-473c-abc1-08d8f75013bf]

2020-10-19 23:11:41 | [Mutex] received everything.

2020-10-19 23:11:41 | [Mutex] isItemNotified: configured:node:node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc:node-4596a86b-0832-473c-abc1-08d8f75013bf :: true

2020-10-19 23:11:42 | [Mutex] waiting for: [received:nodes:27b568ea-0f5a-40a4-a367-0e995d381656:localhost]

2020-10-19 23:11:42 | [Mutex] received everything.

2020-10-19 23:11:42 | [Mutex] isItemNotified: received:node:27b568ea-0f5a-40a4-a367-0e995d381656:localhost:node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc:Node a3fff62a-fdcc-40dd-bf19-01d9d67b50cc :: true

2020-10-19 23:11:42 | [Mutex] waiting for: [received:nodes:2275c8fd-7d51-485e-a938-cf8310531dd8:localhost]

2020-10-19 23:11:42 | [Mutex] waiting for: [received:nodes:2275c8fd-7d51-485e-a938-cf8310531dd8:localhost]

2020-10-19 23:11:42 | [Mutex] received everything.

2020-10-19 23:11:42 | [Mutex] isItemNotified: received:node:2275c8fd-7d51-485e-a938-cf8310531dd8:localhost:node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc:Node a3fff62a-fdcc-40dd-bf19-01d9d67b50cc :: false

createNodes 1.429s
2020-10-19 23:11:38 |

2020-10-19 23:11:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:38 | ------------------------------------

2020-10-19 23:11:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a3fff62a-fdcc-40dd-bf19-01d9d67b50cc</title></pubsub></data>

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

2020-10-19 23:11:40 | [Mutex] waiting for: [received:nodes:92eb96b0-737b-4730-8c7f-24a8a3a00acd:localhost]

2020-10-19 23:11:40 | [Mutex] received everything.

2020-10-19 23:11:40 | [Mutex] isItemNotified: received:node:92eb96b0-737b-4730-8c7f-24a8a3a00acd:localhost:node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc:Node a3fff62a-fdcc-40dd-bf19-01d9d67b50cc :: true

createSubnodes 1.034s
2020-10-19 23:11:40 |

2020-10-19 23:11:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:40 | ------------------------------------

2020-10-19 23:11:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4596a86b-0832-473c-abc1-08d8f75013bf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4596a86b-0832-473c-abc1-08d8f75013bf</title></pubsub></data>

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

2020-10-19 23:11:41 | [Mutex] waiting for: [received:nodes:f568579b-e21a-4175-8bd6-95a3c97a8d37:localhost]

2020-10-19 23:11:41 | [Mutex] received everything.

2020-10-19 23:11:41 | [Mutex] isItemNotified: received:node:f568579b-e21a-4175-8bd6-95a3c97a8d37:localhost:node-4596a86b-0832-473c-abc1-08d8f75013bf:Node 4596a86b-0832-473c-abc1-08d8f75013bf :: true

deleteNodes 1.020s
2020-10-19 23:11:47 |

2020-10-19 23:11:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:47 | ------------------------------------

2020-10-19 23:11:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4596a86b-0832-473c-abc1-08d8f75013bf</node></data>

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

2020-10-19 23:11:48 | [Mutex] waiting for: [received:nodes:fb75a684-84fc-4abc-b591-8e236faf4738:localhost]

2020-10-19 23:11:48 | [Mutex] received everything.

2020-10-19 23:11:48 | [Mutex] isItemNotified: received:node:fb75a684-84fc-4abc-b591-8e236faf4738:localhost:node-4596a86b-0832-473c-abc1-08d8f75013bf:Node 4596a86b-0832-473c-abc1-08d8f75013bf :: false

deleteSubnodes 1.128s
2020-10-19 23:11:45 |

2020-10-19 23:11:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:45 | ------------------------------------

2020-10-19 23:11:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc</node></data>

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

2020-10-19 23:11:47 | [Mutex] waiting for: [received:nodes:ce333751-e2a2-4e46-8a24-7b6f311092fe:localhost]

2020-10-19 23:11:47 | [Mutex] waiting for: [received:nodes:ce333751-e2a2-4e46-8a24-7b6f311092fe:localhost]

2020-10-19 23:11:47 | [Mutex] received everything.

2020-10-19 23:11:47 | [Mutex] isItemNotified: received:node:ce333751-e2a2-4e46-8a24-7b6f311092fe:localhost:node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc:Node a3fff62a-fdcc-40dd-bf19-01d9d67b50cc :: false

2020-10-19 23:11:47 | [Mutex] waiting for: [received:nodes:ab7ae55d-9376-4940-b2cb-953319f38eff:localhost]

2020-10-19 23:11:47 | [Mutex] received everything.

2020-10-19 23:11:47 | [Mutex] isItemNotified: received:node:ab7ae55d-9376-4940-b2cb-953319f38eff:localhost:node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc:Node a3fff62a-fdcc-40dd-bf19-01d9d67b50cc :: false

publishItemsToNodes 0.196s
2020-10-19 23:11:43 |

2020-10-19 23:11:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:43 | ------------------------------------

2020-10-19 23:11:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc</node><item-id>item-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2</item-id><entry><test>item-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2</test></entry></data>

2020-10-19 23:11:43 | 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-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2</value></item-id></result>

2020-10-19 23:11:43 | [Mutex] waiting for: [published:item:notifieditem-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2:admin@test-domain.com]

2020-10-19 23:11:43 | [Mutex] received everything.

2020-10-19 23:11:43 | [Mutex] isItemNotified: published:item:notifieditem-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2020-10-19 23:11:44 |

2020-10-19 23:11:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:44 | ------------------------------------

2020-10-19 23:11:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc</node><item-id>item-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2</item-id></data>

2020-10-19 23:11:44 | 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-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2</value></item-id></result>

2020-10-19 23:11:44 | [Mutex] received everything.

2020-10-19 23:11:44 | [Mutex] isItemNotified: retracted:item:notifieditem-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.308s
2020-10-19 23:11:43 |

2020-10-19 23:11:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:43 | ------------------------------------

2020-10-19 23:11:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc</node><item-id>item-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2</item-id></data>

2020-10-19 23:11:44 | 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-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc</value></node><item-id label="Item ID" type="text-single"><value>item-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2</value></item-id><item label="Item" type="text-multi"><value><item id="item-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2"><test>item-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2</test></item></value></item></result>

2020-10-19 23:11:44 | [Mutex] notify: [retrieved:item:item-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2:payload-matches:true:localhost]

2020-10-19 23:11:44 | [Mutex] received everything.

2020-10-19 23:11:44 | [Mutex] isItemNotified: retrieved:item:item-f9a3f3fe-8590-4823-be65-ece4e8ebdfe2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-19 23:11:44 |

2020-10-19 23:11:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:44 | ------------------------------------

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

2020-10-19 23:11:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc</value><value>node-4596a86b-0832-473c-abc1-08d8f75013bf</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-19 23:11:44 |

2020-10-19 23:11:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:44 | ------------------------------------

2020-10-19 23:11:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc)</node-pattern></data>

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

subscribeNodes 1.172s
2020-10-19 23:11:42 |

2020-10-19 23:11:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:42 | ------------------------------------

2020-10-19 23:11:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-19 23:11:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.315s
2020-10-19 23:11:44 |

2020-10-19 23:11:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-19 23:11:44 | ------------------------------------

2020-10-19 23:11:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a3fff62a-fdcc-40dd-bf19-01d9d67b50cc</node><jids><value>admin@test-domain.com</value></jids></data>

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