Generated by TestNG with ReportNG at 22:32 PDT on Wednesday 02 September 2020
root@aaf3988fc7fc / 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.846s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2020-09-02 22:49:56 |

2020-09-02 22:49:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:49:56 | ------------------------------------

2020-09-02 22:49:56 | [Mutex] waiting for: [configured:node:node-0d1ab354-cc55-4aef-a727-91f251e19d21:node-529deab0-646c-4f1b-942e-7ab149ce964f]

2020-09-02 22:49:56 | [Mutex] received everything.

2020-09-02 22:49:56 | [Mutex] isItemNotified: configured:node:node-0d1ab354-cc55-4aef-a727-91f251e19d21:node-529deab0-646c-4f1b-942e-7ab149ce964f :: true

2020-09-02 22:49:57 | [Mutex] waiting for: [received:nodes:8e31a6ae-7528-416b-b386-b850eefb30b6:localhost]

2020-09-02 22:49:57 | [Mutex] received everything.

2020-09-02 22:49:57 | [Mutex] isItemNotified: received:node:8e31a6ae-7528-416b-b386-b850eefb30b6:localhost:node-0d1ab354-cc55-4aef-a727-91f251e19d21:Node 0d1ab354-cc55-4aef-a727-91f251e19d21 :: true

2020-09-02 22:49:57 | [Mutex] waiting for: [received:nodes:0b279eff-84d2-4d8e-ac24-33ff817daa9e:localhost]

2020-09-02 22:49:57 | [Mutex] waiting for: [received:nodes:0b279eff-84d2-4d8e-ac24-33ff817daa9e:localhost]

2020-09-02 22:49:57 | [Mutex] received everything.

2020-09-02 22:49:57 | [Mutex] isItemNotified: received:node:0b279eff-84d2-4d8e-ac24-33ff817daa9e:localhost:node-0d1ab354-cc55-4aef-a727-91f251e19d21:Node 0d1ab354-cc55-4aef-a727-91f251e19d21 :: false

createNodes 1.484s
2020-09-02 22:49:53 |

2020-09-02 22:49:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:49:53 | ------------------------------------

2020-09-02 22:49:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0d1ab354-cc55-4aef-a727-91f251e19d21</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0d1ab354-cc55-4aef-a727-91f251e19d21</title></pubsub></data>

2020-09-02 22:49:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-02 22:49:54 | [Mutex] waiting for: [received:nodes:823c0b44-9d07-46c9-aacd-b0512eed24ae:localhost]

2020-09-02 22:49:54 | [Mutex] received everything.

2020-09-02 22:49:54 | [Mutex] isItemNotified: received:node:823c0b44-9d07-46c9-aacd-b0512eed24ae:localhost:node-0d1ab354-cc55-4aef-a727-91f251e19d21:Node 0d1ab354-cc55-4aef-a727-91f251e19d21 :: true

createSubnodes 1.024s
2020-09-02 22:49:54 |

2020-09-02 22:49:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:49:54 | ------------------------------------

2020-09-02 22:49:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-529deab0-646c-4f1b-942e-7ab149ce964f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 529deab0-646c-4f1b-942e-7ab149ce964f</title></pubsub></data>

2020-09-02 22:49:55 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-02 22:49:56 | [Mutex] waiting for: [received:nodes:39f98001-e708-405a-bbc5-2dbf204a00a4:localhost]

2020-09-02 22:49:56 | [Mutex] received everything.

2020-09-02 22:49:56 | [Mutex] isItemNotified: received:node:39f98001-e708-405a-bbc5-2dbf204a00a4:localhost:node-529deab0-646c-4f1b-942e-7ab149ce964f:Node 529deab0-646c-4f1b-942e-7ab149ce964f :: true

deleteNodes 1.022s
2020-09-02 22:50:01 |

2020-09-02 22:50:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:50:01 | ------------------------------------

2020-09-02 22:50:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-529deab0-646c-4f1b-942e-7ab149ce964f</node></data>

2020-09-02 22:50:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-02 22:50:02 | [Mutex] waiting for: [received:nodes:987419a2-df04-41ad-b738-c1f881ee9fd1:localhost]

2020-09-02 22:50:02 | [Mutex] received everything.

2020-09-02 22:50:02 | [Mutex] isItemNotified: received:node:987419a2-df04-41ad-b738-c1f881ee9fd1:localhost:node-529deab0-646c-4f1b-942e-7ab149ce964f:Node 529deab0-646c-4f1b-942e-7ab149ce964f :: false

deleteSubnodes 1.126s
2020-09-02 22:50:00 |

2020-09-02 22:50:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:50:00 | ------------------------------------

2020-09-02 22:50:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0d1ab354-cc55-4aef-a727-91f251e19d21</node></data>

2020-09-02 22:50:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-02 22:50:01 | [Mutex] waiting for: [received:nodes:deb20b07-f8d9-4c66-8409-1c30d139d271:localhost]

2020-09-02 22:50:01 | [Mutex] received everything.

2020-09-02 22:50:01 | [Mutex] isItemNotified: received:node:deb20b07-f8d9-4c66-8409-1c30d139d271:localhost:node-0d1ab354-cc55-4aef-a727-91f251e19d21:Node 0d1ab354-cc55-4aef-a727-91f251e19d21 :: false

2020-09-02 22:50:01 | [Mutex] waiting for: [received:nodes:b846037b-71e9-4988-a7c4-639bf7dfc6e5:localhost]

2020-09-02 22:50:01 | [Mutex] received everything.

2020-09-02 22:50:01 | [Mutex] isItemNotified: received:node:b846037b-71e9-4988-a7c4-639bf7dfc6e5:localhost:node-0d1ab354-cc55-4aef-a727-91f251e19d21:Node 0d1ab354-cc55-4aef-a727-91f251e19d21 :: false

publishItemsToNodes 0.222s
2020-09-02 22:49:58 |

2020-09-02 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:49:58 | ------------------------------------

2020-09-02 22:49:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0d1ab354-cc55-4aef-a727-91f251e19d21</node><item-id>item-675c49f3-c28f-46c0-b5f2-efc3201fbbf4</item-id><entry><test>item-675c49f3-c28f-46c0-b5f2-efc3201fbbf4</test></entry></data>

2020-09-02 22:49:58 | 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-675c49f3-c28f-46c0-b5f2-efc3201fbbf4</value></item-id></result>

2020-09-02 22:49:58 | [Mutex] received everything.

2020-09-02 22:49:58 | [Mutex] isItemNotified: published:item:notifieditem-675c49f3-c28f-46c0-b5f2-efc3201fbbf4:admin@test-domain.com :: true

retractItemsFromNodes 0.177s
2020-09-02 22:49:58 |

2020-09-02 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:49:58 | ------------------------------------

2020-09-02 22:49:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0d1ab354-cc55-4aef-a727-91f251e19d21</node><item-id>item-675c49f3-c28f-46c0-b5f2-efc3201fbbf4</item-id></data>

2020-09-02 22:49:58 | 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-675c49f3-c28f-46c0-b5f2-efc3201fbbf4</value></item-id></result>

2020-09-02 22:49:58 | [Mutex] waiting for: [retracted:item:notifieditem-675c49f3-c28f-46c0-b5f2-efc3201fbbf4:admin@test-domain.com]

2020-09-02 22:49:58 | [Mutex] received everything.

2020-09-02 22:49:58 | [Mutex] isItemNotified: retracted:item:notifieditem-675c49f3-c28f-46c0-b5f2-efc3201fbbf4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.217s
2020-09-02 22:49:58 |

2020-09-02 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:49:58 | ------------------------------------

2020-09-02 22:49:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0d1ab354-cc55-4aef-a727-91f251e19d21</node><item-id>item-675c49f3-c28f-46c0-b5f2-efc3201fbbf4</item-id></data>

2020-09-02 22:49:58 | 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-0d1ab354-cc55-4aef-a727-91f251e19d21</value></node><item-id label="Item ID" type="text-single"><value>item-675c49f3-c28f-46c0-b5f2-efc3201fbbf4</value></item-id><item label="Item" type="text-multi"><value><item id="item-675c49f3-c28f-46c0-b5f2-efc3201fbbf4"><test>item-675c49f3-c28f-46c0-b5f2-efc3201fbbf4</test></item></value></item></result>

2020-09-02 22:49:58 | [Mutex] notify: [retrieved:item:item-675c49f3-c28f-46c0-b5f2-efc3201fbbf4:payload-matches:true:localhost]

2020-09-02 22:49:58 | [Mutex] received everything.

2020-09-02 22:49:58 | [Mutex] isItemNotified: retrieved:item:item-675c49f3-c28f-46c0-b5f2-efc3201fbbf4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-02 22:49:58 |

2020-09-02 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:49:58 | ------------------------------------

2020-09-02 22:49:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-02 22:49:58 | 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-0d1ab354-cc55-4aef-a727-91f251e19d21</value><value>node-529deab0-646c-4f1b-942e-7ab149ce964f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-09-02 22:49:58 |

2020-09-02 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:49:58 | ------------------------------------

2020-09-02 22:49:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0d1ab354-cc55-4aef-a727-91f251e19d21)</node-pattern></data>

2020-09-02 22:49:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.099s
2020-09-02 22:49:57 |

2020-09-02 22:49:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:49:57 | ------------------------------------

2020-09-02 22:49:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0d1ab354-cc55-4aef-a727-91f251e19d21</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-02 22:49:57 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.266s
2020-09-02 22:49:58 |

2020-09-02 22:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 22:49:58 | ------------------------------------

2020-09-02 22:49:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0d1ab354-cc55-4aef-a727-91f251e19d21</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-02 22:49:59 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>