Generated by TestNG with ReportNG at 22:56 PDT on Tuesday 05 October 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 : 9.917s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.138s
2021-10-05 23:10:01 |

2021-10-05 23:10:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 23:10:01 | ------------------------------------

2021-10-05 23:10:01 | [Mutex] waiting for: [configured:node:node-53a0b570-178f-4c6e-a8e8-96160e3df1ad:node-5122f61d-c165-4405-800a-10a3849f2323]

2021-10-05 23:10:01 | [Mutex] received everything.

2021-10-05 23:10:01 | [Mutex] isItemNotified: configured:node:node-53a0b570-178f-4c6e-a8e8-96160e3df1ad:node-5122f61d-c165-4405-800a-10a3849f2323 :: true

2021-10-05 23:10:02 | [Mutex] waiting for: [received:nodes:094bde2f-8177-48c2-805c-466f94da81c8:localhost]

2021-10-05 23:10:03 | [Mutex] received everything.

2021-10-05 23:10:03 | [Mutex] isItemNotified: received:node:094bde2f-8177-48c2-805c-466f94da81c8:localhost:node-53a0b570-178f-4c6e-a8e8-96160e3df1ad:Node 53a0b570-178f-4c6e-a8e8-96160e3df1ad :: true

2021-10-05 23:10:03 | [Mutex] waiting for: [received:nodes:1ff6922f-b3bc-4afa-94d6-556576ce983a:localhost]

2021-10-05 23:10:03 | [Mutex] received everything.

2021-10-05 23:10:03 | [Mutex] isItemNotified: received:node:1ff6922f-b3bc-4afa-94d6-556576ce983a:localhost:node-53a0b570-178f-4c6e-a8e8-96160e3df1ad:Node 53a0b570-178f-4c6e-a8e8-96160e3df1ad :: false

createNodes 1.488s
2021-10-05 23:09:59 |

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

2021-10-05 23:09:59 | ------------------------------------

2021-10-05 23:09:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-53a0b570-178f-4c6e-a8e8-96160e3df1ad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 53a0b570-178f-4c6e-a8e8-96160e3df1ad</title></pubsub></data>

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

2021-10-05 23:10:00 | [Mutex] waiting for: [received:nodes:ff33a567-c1bd-4475-a5ec-91eaa6aa664a:localhost]

2021-10-05 23:10:00 | [Mutex] received everything.

2021-10-05 23:10:00 | [Mutex] isItemNotified: received:node:ff33a567-c1bd-4475-a5ec-91eaa6aa664a:localhost:node-53a0b570-178f-4c6e-a8e8-96160e3df1ad:Node 53a0b570-178f-4c6e-a8e8-96160e3df1ad :: true

createSubnodes 1.032s
2021-10-05 23:10:00 |

2021-10-05 23:10:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 23:10:00 | ------------------------------------

2021-10-05 23:10:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5122f61d-c165-4405-800a-10a3849f2323</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5122f61d-c165-4405-800a-10a3849f2323</title></pubsub></data>

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

2021-10-05 23:10:01 | [Mutex] waiting for: [received:nodes:52d9f00f-4c3d-442e-abd5-6254382114c2:localhost]

2021-10-05 23:10:01 | [Mutex] received everything.

2021-10-05 23:10:01 | [Mutex] isItemNotified: received:node:52d9f00f-4c3d-442e-abd5-6254382114c2:localhost:node-5122f61d-c165-4405-800a-10a3849f2323:Node 5122f61d-c165-4405-800a-10a3849f2323 :: true

deleteNodes 1.017s
2021-10-05 23:10:07 |

2021-10-05 23:10:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 23:10:07 | ------------------------------------

2021-10-05 23:10:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5122f61d-c165-4405-800a-10a3849f2323</node></data>

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

2021-10-05 23:10:08 | [Mutex] waiting for: [received:nodes:97bfe010-0333-4bb6-88a9-c84165292efe:localhost]

2021-10-05 23:10:08 | [Mutex] waiting for: [received:nodes:97bfe010-0333-4bb6-88a9-c84165292efe:localhost]

2021-10-05 23:10:08 | [Mutex] received everything.

2021-10-05 23:10:08 | [Mutex] isItemNotified: received:node:97bfe010-0333-4bb6-88a9-c84165292efe:localhost:node-5122f61d-c165-4405-800a-10a3849f2323:Node 5122f61d-c165-4405-800a-10a3849f2323 :: false

deleteSubnodes 1.137s
2021-10-05 23:10:06 |

2021-10-05 23:10:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 23:10:06 | ------------------------------------

2021-10-05 23:10:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-53a0b570-178f-4c6e-a8e8-96160e3df1ad</node></data>

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

2021-10-05 23:10:07 | [Mutex] waiting for: [received:nodes:183670d8-5305-4d94-b774-15cd93e3cfda:localhost]

2021-10-05 23:10:07 | [Mutex] waiting for: [received:nodes:183670d8-5305-4d94-b774-15cd93e3cfda:localhost]

2021-10-05 23:10:07 | [Mutex] received everything.

2021-10-05 23:10:07 | [Mutex] isItemNotified: received:node:183670d8-5305-4d94-b774-15cd93e3cfda:localhost:node-53a0b570-178f-4c6e-a8e8-96160e3df1ad:Node 53a0b570-178f-4c6e-a8e8-96160e3df1ad :: false

2021-10-05 23:10:07 | [Mutex] waiting for: [received:nodes:e192b985-cec1-4cf9-bde3-2fd98923f8f4:localhost]

2021-10-05 23:10:07 | [Mutex] received everything.

2021-10-05 23:10:07 | [Mutex] isItemNotified: received:node:e192b985-cec1-4cf9-bde3-2fd98923f8f4:localhost:node-53a0b570-178f-4c6e-a8e8-96160e3df1ad:Node 53a0b570-178f-4c6e-a8e8-96160e3df1ad :: false

publishItemsToNodes 0.244s
2021-10-05 23:10:04 |

2021-10-05 23:10:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 23:10:04 | ------------------------------------

2021-10-05 23:10:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-53a0b570-178f-4c6e-a8e8-96160e3df1ad</node><item-id>item-bef1975c-178f-4a3f-84ba-0a41fcb12f15</item-id><entry><test>item-bef1975c-178f-4a3f-84ba-0a41fcb12f15</test></entry></data>

2021-10-05 23:10:04 | 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-bef1975c-178f-4a3f-84ba-0a41fcb12f15</value></item-id></result>

2021-10-05 23:10:04 | [Mutex] waiting for: [published:item:notifieditem-bef1975c-178f-4a3f-84ba-0a41fcb12f15:admin@test-domain.com]

2021-10-05 23:10:04 | [Mutex] received everything.

2021-10-05 23:10:04 | [Mutex] isItemNotified: published:item:notifieditem-bef1975c-178f-4a3f-84ba-0a41fcb12f15:admin@test-domain.com :: true

retractItemsFromNodes 0.231s
2021-10-05 23:10:04 |

2021-10-05 23:10:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 23:10:04 | ------------------------------------

2021-10-05 23:10:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-53a0b570-178f-4c6e-a8e8-96160e3df1ad</node><item-id>item-bef1975c-178f-4a3f-84ba-0a41fcb12f15</item-id></data>

2021-10-05 23:10:05 | 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-bef1975c-178f-4a3f-84ba-0a41fcb12f15</value></item-id></result>

2021-10-05 23:10:05 | [Mutex] received everything.

2021-10-05 23:10:05 | [Mutex] isItemNotified: retracted:item:notifieditem-bef1975c-178f-4a3f-84ba-0a41fcb12f15:admin@test-domain.com :: true

retrieveItemsFromNodes 0.358s
2021-10-05 23:10:04 |

2021-10-05 23:10:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 23:10:04 | ------------------------------------

2021-10-05 23:10:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-53a0b570-178f-4c6e-a8e8-96160e3df1ad</node><item-id>item-bef1975c-178f-4a3f-84ba-0a41fcb12f15</item-id></data>

2021-10-05 23:10:04 | 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-53a0b570-178f-4c6e-a8e8-96160e3df1ad</value></node><item-id type="text-single" label="Item ID"><value>item-bef1975c-178f-4a3f-84ba-0a41fcb12f15</value></item-id><item type="text-multi" label="Item"><value><item id="item-bef1975c-178f-4a3f-84ba-0a41fcb12f15"><test>item-bef1975c-178f-4a3f-84ba-0a41fcb12f15</test></item></value></item></result>

2021-10-05 23:10:04 | [Mutex] notify: [retrieved:item:item-bef1975c-178f-4a3f-84ba-0a41fcb12f15:payload-matches:true:localhost]

2021-10-05 23:10:04 | [Mutex] received everything.

2021-10-05 23:10:04 | [Mutex] isItemNotified: retrieved:item:item-bef1975c-178f-4a3f-84ba-0a41fcb12f15:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-10-05 23:10:04 |

2021-10-05 23:10:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 23:10:04 | ------------------------------------

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

2021-10-05 23:10:04 | 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-53a0b570-178f-4c6e-a8e8-96160e3df1ad</value><value>node-5122f61d-c165-4405-800a-10a3849f2323</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-10-05 23:10:04 |

2021-10-05 23:10:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 23:10:04 | ------------------------------------

2021-10-05 23:10:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-53a0b570-178f-4c6e-a8e8-96160e3df1ad)</node-pattern></data>

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

subscribeNodes 1.138s
2021-10-05 23:10:03 |

2021-10-05 23:10:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 23:10:03 | ------------------------------------

2021-10-05 23:10:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-53a0b570-178f-4c6e-a8e8-96160e3df1ad</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.251s
2021-10-05 23:10:05 |

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

2021-10-05 23:10:05 | ------------------------------------

2021-10-05 23:10:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-53a0b570-178f-4c6e-a8e8-96160e3df1ad</node><jids><value>admin@test-domain.com</value></jids></data>

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