Generated by TestNG with ReportNG at 21:43 PST on Friday 05 February 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 : 9.999s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2021-02-05 21:59:11 |

2021-02-05 21:59:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:11 | ------------------------------------

2021-02-05 21:59:11 | [Mutex] waiting for: [configured:node:node-1918917b-133d-46ce-bf0c-bd7cf9372f72:node-7dc5ad8f-373a-4267-931c-f8afc9c38f8a]

2021-02-05 21:59:11 | [Mutex] received everything.

2021-02-05 21:59:11 | [Mutex] isItemNotified: configured:node:node-1918917b-133d-46ce-bf0c-bd7cf9372f72:node-7dc5ad8f-373a-4267-931c-f8afc9c38f8a :: true

2021-02-05 21:59:12 | [Mutex] waiting for: [received:nodes:24fbde26-ba24-45be-89fb-4b403df7740c:localhost]

2021-02-05 21:59:12 | [Mutex] waiting for: [received:nodes:24fbde26-ba24-45be-89fb-4b403df7740c:localhost]

2021-02-05 21:59:12 | [Mutex] received everything.

2021-02-05 21:59:12 | [Mutex] isItemNotified: received:node:24fbde26-ba24-45be-89fb-4b403df7740c:localhost:node-1918917b-133d-46ce-bf0c-bd7cf9372f72:Node 1918917b-133d-46ce-bf0c-bd7cf9372f72 :: true

2021-02-05 21:59:12 | [Mutex] waiting for: [received:nodes:46301bc6-7af8-45b2-9ca9-a1cbf9abc401:localhost]

2021-02-05 21:59:12 | [Mutex] received everything.

2021-02-05 21:59:12 | [Mutex] isItemNotified: received:node:46301bc6-7af8-45b2-9ca9-a1cbf9abc401:localhost:node-1918917b-133d-46ce-bf0c-bd7cf9372f72:Node 1918917b-133d-46ce-bf0c-bd7cf9372f72 :: false

createNodes 1.446s
2021-02-05 21:59:08 |

2021-02-05 21:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:08 | ------------------------------------

2021-02-05 21:59:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1918917b-133d-46ce-bf0c-bd7cf9372f72</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1918917b-133d-46ce-bf0c-bd7cf9372f72</title></pubsub></data>

2021-02-05 21:59:09 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-05 21:59:10 | [Mutex] waiting for: [received:nodes:1406ca22-8b41-44c3-89cc-3bc1ccefe4cd:localhost]

2021-02-05 21:59:10 | [Mutex] waiting for: [received:nodes:1406ca22-8b41-44c3-89cc-3bc1ccefe4cd:localhost]

2021-02-05 21:59:10 | [Mutex] received everything.

2021-02-05 21:59:10 | [Mutex] isItemNotified: received:node:1406ca22-8b41-44c3-89cc-3bc1ccefe4cd:localhost:node-1918917b-133d-46ce-bf0c-bd7cf9372f72:Node 1918917b-133d-46ce-bf0c-bd7cf9372f72 :: true

createSubnodes 1.028s
2021-02-05 21:59:10 |

2021-02-05 21:59:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:10 | ------------------------------------

2021-02-05 21:59:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7dc5ad8f-373a-4267-931c-f8afc9c38f8a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7dc5ad8f-373a-4267-931c-f8afc9c38f8a</title></pubsub></data>

2021-02-05 21:59:10 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-05 21:59:11 | [Mutex] waiting for: [received:nodes:62465953-952e-46b3-868c-f74531ae79eb:localhost]

2021-02-05 21:59:11 | [Mutex] received everything.

2021-02-05 21:59:11 | [Mutex] isItemNotified: received:node:62465953-952e-46b3-868c-f74531ae79eb:localhost:node-7dc5ad8f-373a-4267-931c-f8afc9c38f8a:Node 7dc5ad8f-373a-4267-931c-f8afc9c38f8a :: true

deleteNodes 1.016s
2021-02-05 21:59:16 |

2021-02-05 21:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:16 | ------------------------------------

2021-02-05 21:59:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7dc5ad8f-373a-4267-931c-f8afc9c38f8a</node></data>

2021-02-05 21:59:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-05 21:59:17 | [Mutex] waiting for: [received:nodes:d19e8872-3281-4615-84e0-1f2d373ffead:localhost]

2021-02-05 21:59:17 | [Mutex] received everything.

2021-02-05 21:59:17 | [Mutex] isItemNotified: received:node:d19e8872-3281-4615-84e0-1f2d373ffead:localhost:node-7dc5ad8f-373a-4267-931c-f8afc9c38f8a:Node 7dc5ad8f-373a-4267-931c-f8afc9c38f8a :: false

deleteSubnodes 1.123s
2021-02-05 21:59:15 |

2021-02-05 21:59:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:15 | ------------------------------------

2021-02-05 21:59:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1918917b-133d-46ce-bf0c-bd7cf9372f72</node></data>

2021-02-05 21:59:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-05 21:59:16 | [Mutex] waiting for: [received:nodes:07ed2a19-f406-4553-a449-d1de9996a1d2:localhost]

2021-02-05 21:59:16 | [Mutex] waiting for: [received:nodes:07ed2a19-f406-4553-a449-d1de9996a1d2:localhost]

2021-02-05 21:59:16 | [Mutex] received everything.

2021-02-05 21:59:16 | [Mutex] isItemNotified: received:node:07ed2a19-f406-4553-a449-d1de9996a1d2:localhost:node-1918917b-133d-46ce-bf0c-bd7cf9372f72:Node 1918917b-133d-46ce-bf0c-bd7cf9372f72 :: false

2021-02-05 21:59:16 | [Mutex] waiting for: [received:nodes:5a9a6158-9e8c-4e05-9e50-b98d7b2ad0bc:localhost]

2021-02-05 21:59:16 | [Mutex] received everything.

2021-02-05 21:59:16 | [Mutex] isItemNotified: received:node:5a9a6158-9e8c-4e05-9e50-b98d7b2ad0bc:localhost:node-1918917b-133d-46ce-bf0c-bd7cf9372f72:Node 1918917b-133d-46ce-bf0c-bd7cf9372f72 :: false

publishItemsToNodes 0.242s
2021-02-05 21:59:13 |

2021-02-05 21:59:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:13 | ------------------------------------

2021-02-05 21:59:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1918917b-133d-46ce-bf0c-bd7cf9372f72</node><item-id>item-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b</item-id><entry><test>item-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b</test></entry></data>

2021-02-05 21:59:13 | 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-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b</value></item-id></result>

2021-02-05 21:59:13 | [Mutex] waiting for: [published:item:notifieditem-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b:admin@test-domain.com]

2021-02-05 21:59:13 | [Mutex] received everything.

2021-02-05 21:59:13 | [Mutex] isItemNotified: published:item:notifieditem-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-02-05 21:59:14 |

2021-02-05 21:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:14 | ------------------------------------

2021-02-05 21:59:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1918917b-133d-46ce-bf0c-bd7cf9372f72</node><item-id>item-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b</item-id></data>

2021-02-05 21:59:14 | 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-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b</value></item-id></result>

2021-02-05 21:59:14 | [Mutex] received everything.

2021-02-05 21:59:14 | [Mutex] isItemNotified: retracted:item:notifieditem-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.242s
2021-02-05 21:59:13 |

2021-02-05 21:59:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:13 | ------------------------------------

2021-02-05 21:59:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1918917b-133d-46ce-bf0c-bd7cf9372f72</node><item-id>item-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b</item-id></data>

2021-02-05 21:59:13 | 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-1918917b-133d-46ce-bf0c-bd7cf9372f72</value></node><item-id label="Item ID" type="text-single"><value>item-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b</value></item-id><item label="Item" type="text-multi"><value><item id="item-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b"><test>item-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b</test></item></value></item></result>

2021-02-05 21:59:13 | [Mutex] notify: [retrieved:item:item-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b:payload-matches:true:localhost]

2021-02-05 21:59:13 | [Mutex] received everything.

2021-02-05 21:59:13 | [Mutex] isItemNotified: retrieved:item:item-ffc8b37a-ef1f-4059-a6bb-9bd08fa0f40b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2021-02-05 21:59:13 |

2021-02-05 21:59:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:13 | ------------------------------------

2021-02-05 21:59:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-05 21:59:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-7dc5ad8f-373a-4267-931c-f8afc9c38f8a</value><value>test</value><value>node-1918917b-133d-46ce-bf0c-bd7cf9372f72</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-02-05 21:59:13 |

2021-02-05 21:59:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:13 | ------------------------------------

2021-02-05 21:59:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1918917b-133d-46ce-bf0c-bd7cf9372f72)</node-pattern></data>

2021-02-05 21:59:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.110s
2021-02-05 21:59:12 |

2021-02-05 21:59:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:12 | ------------------------------------

2021-02-05 21:59:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1918917b-133d-46ce-bf0c-bd7cf9372f72</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-05 21:59:12 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.307s
2021-02-05 21:59:14 |

2021-02-05 21:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-05 21:59:14 | ------------------------------------

2021-02-05 21:59:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1918917b-133d-46ce-bf0c-bd7cf9372f72</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-05 21:59:14 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>