Generated by TestNG with ReportNG at 22:15 PDT on Wednesday 21 October 2020
root@eaa73862192b / 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.957s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2020-10-21 22:30:58 |

2020-10-21 22:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:30:58 | ------------------------------------

2020-10-21 22:30:58 | [Mutex] waiting for: [configured:node:node-8d874fbe-64f6-4706-84f4-c92ec086e3c7:node-62b972a7-7d36-4066-a9e3-382d4d3285d6]

2020-10-21 22:30:58 | [Mutex] received everything.

2020-10-21 22:30:58 | [Mutex] isItemNotified: configured:node:node-8d874fbe-64f6-4706-84f4-c92ec086e3c7:node-62b972a7-7d36-4066-a9e3-382d4d3285d6 :: true

2020-10-21 22:30:59 | [Mutex] waiting for: [received:nodes:e1718ee8-6d3e-4583-aab3-f2c822da09d5:localhost]

2020-10-21 22:30:59 | [Mutex] received everything.

2020-10-21 22:30:59 | [Mutex] isItemNotified: received:node:e1718ee8-6d3e-4583-aab3-f2c822da09d5:localhost:node-8d874fbe-64f6-4706-84f4-c92ec086e3c7:Node 8d874fbe-64f6-4706-84f4-c92ec086e3c7 :: true

2020-10-21 22:30:59 | [Mutex] waiting for: [received:nodes:8b9269a5-bec2-470d-951c-bf198ba8a9b8:localhost]

2020-10-21 22:30:59 | [Mutex] received everything.

2020-10-21 22:30:59 | [Mutex] isItemNotified: received:node:8b9269a5-bec2-470d-951c-bf198ba8a9b8:localhost:node-8d874fbe-64f6-4706-84f4-c92ec086e3c7:Node 8d874fbe-64f6-4706-84f4-c92ec086e3c7 :: false

createNodes 1.522s
2020-10-21 22:30:55 |

2020-10-21 22:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:30:55 | ------------------------------------

2020-10-21 22:30:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8d874fbe-64f6-4706-84f4-c92ec086e3c7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8d874fbe-64f6-4706-84f4-c92ec086e3c7</title></pubsub></data>

2020-10-21 22:30:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-21 22:30:57 | [Mutex] waiting for: [received:nodes:0fb597e7-1e84-4bbc-878d-9d385a13b658:localhost]

2020-10-21 22:30:57 | [Mutex] received everything.

2020-10-21 22:30:57 | [Mutex] isItemNotified: received:node:0fb597e7-1e84-4bbc-878d-9d385a13b658:localhost:node-8d874fbe-64f6-4706-84f4-c92ec086e3c7:Node 8d874fbe-64f6-4706-84f4-c92ec086e3c7 :: true

createSubnodes 1.023s
2020-10-21 22:30:57 |

2020-10-21 22:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:30:57 | ------------------------------------

2020-10-21 22:30:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-62b972a7-7d36-4066-a9e3-382d4d3285d6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 62b972a7-7d36-4066-a9e3-382d4d3285d6</title></pubsub></data>

2020-10-21 22:30:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-21 22:30:58 | [Mutex] waiting for: [received:nodes:56c50a98-98ef-4dce-9545-939f6cb40d8b:localhost]

2020-10-21 22:30:58 | [Mutex] received everything.

2020-10-21 22:30:58 | [Mutex] isItemNotified: received:node:56c50a98-98ef-4dce-9545-939f6cb40d8b:localhost:node-62b972a7-7d36-4066-a9e3-382d4d3285d6:Node 62b972a7-7d36-4066-a9e3-382d4d3285d6 :: true

deleteNodes 1.016s
2020-10-21 22:31:03 |

2020-10-21 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:31:03 | ------------------------------------

2020-10-21 22:31:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-62b972a7-7d36-4066-a9e3-382d4d3285d6</node></data>

2020-10-21 22:31:03 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-21 22:31:04 | [Mutex] waiting for: [received:nodes:8042c9fc-69cf-4a45-bcd9-f2d6b5408d01:localhost]

2020-10-21 22:31:04 | [Mutex] received everything.

2020-10-21 22:31:04 | [Mutex] isItemNotified: received:node:8042c9fc-69cf-4a45-bcd9-f2d6b5408d01:localhost:node-62b972a7-7d36-4066-a9e3-382d4d3285d6:Node 62b972a7-7d36-4066-a9e3-382d4d3285d6 :: false

deleteSubnodes 1.138s
2020-10-21 22:31:02 |

2020-10-21 22:31:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:31:02 | ------------------------------------

2020-10-21 22:31:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8d874fbe-64f6-4706-84f4-c92ec086e3c7</node></data>

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

2020-10-21 22:31:03 | [Mutex] waiting for: [received:nodes:3c940056-a556-4a44-974b-1cb8f3c181d8:localhost]

2020-10-21 22:31:03 | [Mutex] received everything.

2020-10-21 22:31:03 | [Mutex] isItemNotified: received:node:3c940056-a556-4a44-974b-1cb8f3c181d8:localhost:node-8d874fbe-64f6-4706-84f4-c92ec086e3c7:Node 8d874fbe-64f6-4706-84f4-c92ec086e3c7 :: false

2020-10-21 22:31:03 | [Mutex] waiting for: [received:nodes:ed4aa6e0-c744-4971-8c19-17ae0824d1ae:localhost]

2020-10-21 22:31:03 | [Mutex] received everything.

2020-10-21 22:31:03 | [Mutex] isItemNotified: received:node:ed4aa6e0-c744-4971-8c19-17ae0824d1ae:localhost:node-8d874fbe-64f6-4706-84f4-c92ec086e3c7:Node 8d874fbe-64f6-4706-84f4-c92ec086e3c7 :: false

publishItemsToNodes 0.207s
2020-10-21 22:31:00 |

2020-10-21 22:31:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:31:00 | ------------------------------------

2020-10-21 22:31:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8d874fbe-64f6-4706-84f4-c92ec086e3c7</node><item-id>item-e6b27a70-d9d0-4c3c-be26-95e1fd918993</item-id><entry><test>item-e6b27a70-d9d0-4c3c-be26-95e1fd918993</test></entry></data>

2020-10-21 22:31:00 | 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-e6b27a70-d9d0-4c3c-be26-95e1fd918993</value></item-id></result>

2020-10-21 22:31:00 | [Mutex] received everything.

2020-10-21 22:31:00 | [Mutex] isItemNotified: published:item:notifieditem-e6b27a70-d9d0-4c3c-be26-95e1fd918993:admin@test-domain.com :: true

retractItemsFromNodes 0.184s
2020-10-21 22:31:01 |

2020-10-21 22:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:31:01 | ------------------------------------

2020-10-21 22:31:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8d874fbe-64f6-4706-84f4-c92ec086e3c7</node><item-id>item-e6b27a70-d9d0-4c3c-be26-95e1fd918993</item-id></data>

2020-10-21 22:31:01 | 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-e6b27a70-d9d0-4c3c-be26-95e1fd918993</value></item-id></result>

2020-10-21 22:31:01 | [Mutex] received everything.

2020-10-21 22:31:01 | [Mutex] isItemNotified: retracted:item:notifieditem-e6b27a70-d9d0-4c3c-be26-95e1fd918993:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2020-10-21 22:31:00 |

2020-10-21 22:31:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:31:00 | ------------------------------------

2020-10-21 22:31:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8d874fbe-64f6-4706-84f4-c92ec086e3c7</node><item-id>item-e6b27a70-d9d0-4c3c-be26-95e1fd918993</item-id></data>

2020-10-21 22:31:01 | 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-8d874fbe-64f6-4706-84f4-c92ec086e3c7</value></node><item-id label="Item ID" type="text-single"><value>item-e6b27a70-d9d0-4c3c-be26-95e1fd918993</value></item-id><item label="Item" type="text-multi"><value><item id="item-e6b27a70-d9d0-4c3c-be26-95e1fd918993"><test>item-e6b27a70-d9d0-4c3c-be26-95e1fd918993</test></item></value></item></result>

2020-10-21 22:31:01 | [Mutex] notify: [retrieved:item:item-e6b27a70-d9d0-4c3c-be26-95e1fd918993:payload-matches:true:localhost]

2020-10-21 22:31:01 | [Mutex] received everything.

2020-10-21 22:31:01 | [Mutex] isItemNotified: retrieved:item:item-e6b27a70-d9d0-4c3c-be26-95e1fd918993:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-21 22:31:01 |

2020-10-21 22:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:31:01 | ------------------------------------

2020-10-21 22:31:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-21 22:31:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-8d874fbe-64f6-4706-84f4-c92ec086e3c7</value><value>test</value><value>node-62b972a7-7d36-4066-a9e3-382d4d3285d6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-10-21 22:31:01 |

2020-10-21 22:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:31:01 | ------------------------------------

2020-10-21 22:31:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8d874fbe-64f6-4706-84f4-c92ec086e3c7)</node-pattern></data>

2020-10-21 22:31:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.139s
2020-10-21 22:30:59 |

2020-10-21 22:30:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:30:59 | ------------------------------------

2020-10-21 22:30:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8d874fbe-64f6-4706-84f4-c92ec086e3c7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-21 22:30:59 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.215s
2020-10-21 22:31:01 |

2020-10-21 22:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:31:01 | ------------------------------------

2020-10-21 22:31:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8d874fbe-64f6-4706-84f4-c92ec086e3c7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-21 22:31:01 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>