Generated by TestNG with ReportNG at 22:16 PDT on Thursday 17 June 2021
root@b2c2a8eba6e6 / 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.176s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.126s
2021-06-17 22:32:13 |

2021-06-17 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:13 | ------------------------------------

2021-06-17 22:32:13 | [Mutex] waiting for: [configured:node:node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092:node-f871a923-2004-44b4-a45d-68dd42dd74bc]

2021-06-17 22:32:13 | [Mutex] received everything.

2021-06-17 22:32:13 | [Mutex] isItemNotified: configured:node:node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092:node-f871a923-2004-44b4-a45d-68dd42dd74bc :: true

2021-06-17 22:32:14 | [Mutex] waiting for: [received:nodes:dcd2d76a-4fa7-44b7-a0af-3da048b190e5:localhost]

2021-06-17 22:32:14 | [Mutex] received everything.

2021-06-17 22:32:14 | [Mutex] isItemNotified: received:node:dcd2d76a-4fa7-44b7-a0af-3da048b190e5:localhost:node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092:Node 414d3e37-a15a-4e3f-bf98-e2d9e4f48092 :: true

2021-06-17 22:32:14 | [Mutex] waiting for: [received:nodes:86fd0c97-e5d7-405c-8ba3-5a91faa9c706:localhost]

2021-06-17 22:32:14 | [Mutex] waiting for: [received:nodes:86fd0c97-e5d7-405c-8ba3-5a91faa9c706:localhost]

2021-06-17 22:32:14 | [Mutex] waiting for: [received:nodes:86fd0c97-e5d7-405c-8ba3-5a91faa9c706:localhost]

2021-06-17 22:32:14 | [Mutex] waiting for: [received:nodes:86fd0c97-e5d7-405c-8ba3-5a91faa9c706:localhost]

2021-06-17 22:32:14 | [Mutex] received everything.

2021-06-17 22:32:14 | [Mutex] isItemNotified: received:node:86fd0c97-e5d7-405c-8ba3-5a91faa9c706:localhost:node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092:Node 414d3e37-a15a-4e3f-bf98-e2d9e4f48092 :: false

createNodes 1.519s
2021-06-17 22:32:10 |

2021-06-17 22:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:10 | ------------------------------------

2021-06-17 22:32:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 414d3e37-a15a-4e3f-bf98-e2d9e4f48092</title></pubsub></data>

2021-06-17 22:32:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-17 22:32:12 | [Mutex] waiting for: [received:nodes:f73aa37e-3c58-4673-9ed8-15e287756ef8:localhost]

2021-06-17 22:32:12 | [Mutex] waiting for: [received:nodes:f73aa37e-3c58-4673-9ed8-15e287756ef8:localhost]

2021-06-17 22:32:12 | [Mutex] received everything.

2021-06-17 22:32:12 | [Mutex] isItemNotified: received:node:f73aa37e-3c58-4673-9ed8-15e287756ef8:localhost:node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092:Node 414d3e37-a15a-4e3f-bf98-e2d9e4f48092 :: true

createSubnodes 1.033s
2021-06-17 22:32:12 |

2021-06-17 22:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:12 | ------------------------------------

2021-06-17 22:32:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f871a923-2004-44b4-a45d-68dd42dd74bc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f871a923-2004-44b4-a45d-68dd42dd74bc</title></pubsub></data>

2021-06-17 22:32:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-17 22:32:13 | [Mutex] waiting for: [received:nodes:4345fe5b-3ac8-4ec4-9acb-8b995e4bbb6b:localhost]

2021-06-17 22:32:13 | [Mutex] received everything.

2021-06-17 22:32:13 | [Mutex] isItemNotified: received:node:4345fe5b-3ac8-4ec4-9acb-8b995e4bbb6b:localhost:node-f871a923-2004-44b4-a45d-68dd42dd74bc:Node f871a923-2004-44b4-a45d-68dd42dd74bc :: true

deleteNodes 1.019s
2021-06-17 22:32:18 |

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

2021-06-17 22:32:18 | ------------------------------------

2021-06-17 22:32:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f871a923-2004-44b4-a45d-68dd42dd74bc</node></data>

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

2021-06-17 22:32:19 | [Mutex] waiting for: [received:nodes:91622b17-76dc-4b6d-9144-fb2ad8d89210:localhost]

2021-06-17 22:32:19 | [Mutex] received everything.

2021-06-17 22:32:19 | [Mutex] isItemNotified: received:node:91622b17-76dc-4b6d-9144-fb2ad8d89210:localhost:node-f871a923-2004-44b4-a45d-68dd42dd74bc:Node f871a923-2004-44b4-a45d-68dd42dd74bc :: false

deleteSubnodes 1.158s
2021-06-17 22:32:17 |

2021-06-17 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:17 | ------------------------------------

2021-06-17 22:32:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092</node></data>

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

2021-06-17 22:32:18 | [Mutex] waiting for: [received:nodes:37ebfdfd-950b-479b-a67e-7acb4fd52f7f:localhost]

2021-06-17 22:32:18 | [Mutex] received everything.

2021-06-17 22:32:18 | [Mutex] isItemNotified: received:node:37ebfdfd-950b-479b-a67e-7acb4fd52f7f:localhost:node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092:Node 414d3e37-a15a-4e3f-bf98-e2d9e4f48092 :: false

2021-06-17 22:32:18 | [Mutex] waiting for: [received:nodes:cef5216b-11ba-4725-8c57-ed8823ed960d:localhost]

2021-06-17 22:32:18 | [Mutex] received everything.

2021-06-17 22:32:18 | [Mutex] isItemNotified: received:node:cef5216b-11ba-4725-8c57-ed8823ed960d:localhost:node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092:Node 414d3e37-a15a-4e3f-bf98-e2d9e4f48092 :: false

publishItemsToNodes 0.226s
2021-06-17 22:32:15 |

2021-06-17 22:32:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:15 | ------------------------------------

2021-06-17 22:32:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092</node><item-id>item-4aeaa517-1784-4729-83ad-f1d650642564</item-id><entry><test>item-4aeaa517-1784-4729-83ad-f1d650642564</test></entry></data>

2021-06-17 22:32:15 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-4aeaa517-1784-4729-83ad-f1d650642564</value></item-id></result>

2021-06-17 22:32:15 | [Mutex] waiting for: [published:item:notifieditem-4aeaa517-1784-4729-83ad-f1d650642564:admin@test-domain.com]

2021-06-17 22:32:15 | [Mutex] received everything.

2021-06-17 22:32:15 | [Mutex] isItemNotified: published:item:notifieditem-4aeaa517-1784-4729-83ad-f1d650642564:admin@test-domain.com :: true

retractItemsFromNodes 0.257s
2021-06-17 22:32:16 |

2021-06-17 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:16 | ------------------------------------

2021-06-17 22:32:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092</node><item-id>item-4aeaa517-1784-4729-83ad-f1d650642564</item-id></data>

2021-06-17 22:32:16 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-4aeaa517-1784-4729-83ad-f1d650642564</value></item-id></result>

2021-06-17 22:32:16 | [Mutex] waiting for: [retracted:item:notifieditem-4aeaa517-1784-4729-83ad-f1d650642564:admin@test-domain.com]

2021-06-17 22:32:16 | [Mutex] received everything.

2021-06-17 22:32:16 | [Mutex] isItemNotified: retracted:item:notifieditem-4aeaa517-1784-4729-83ad-f1d650642564:admin@test-domain.com :: true

retrieveItemsFromNodes 0.289s
2021-06-17 22:32:15 |

2021-06-17 22:32:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:15 | ------------------------------------

2021-06-17 22:32:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092</node><item-id>item-4aeaa517-1784-4729-83ad-f1d650642564</item-id></data>

2021-06-17 22:32:15 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092</value></node><item-id type="text-single" label="Item ID"><value>item-4aeaa517-1784-4729-83ad-f1d650642564</value></item-id><item type="text-multi" label="Item"><value><item id="item-4aeaa517-1784-4729-83ad-f1d650642564"><test>item-4aeaa517-1784-4729-83ad-f1d650642564</test></item></value></item></result>

2021-06-17 22:32:15 | [Mutex] notify: [retrieved:item:item-4aeaa517-1784-4729-83ad-f1d650642564:payload-matches:true:localhost]

2021-06-17 22:32:15 | [Mutex] received everything.

2021-06-17 22:32:15 | [Mutex] isItemNotified: retrieved:item:item-4aeaa517-1784-4729-83ad-f1d650642564:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-06-17 22:32:15 |

2021-06-17 22:32:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:15 | ------------------------------------

2021-06-17 22:32:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-17 22:32:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092</value><value>node-f871a923-2004-44b4-a45d-68dd42dd74bc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-06-17 22:32:16 |

2021-06-17 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:16 | ------------------------------------

2021-06-17 22:32:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092)</node-pattern></data>

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

subscribeNodes 1.205s
2021-06-17 22:32:14 |

2021-06-17 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:14 | ------------------------------------

2021-06-17 22:32:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-17 22:32:14 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.297s
2021-06-17 22:32:16 |

2021-06-17 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:32:16 | ------------------------------------

2021-06-17 22:32:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-414d3e37-a15a-4e3f-bf98-e2d9e4f48092</node><jids><value>admin@test-domain.com</value></jids></data>

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