Generated by TestNG with ReportNG at 22:50 PDT on Thursday 07 October 2021
root@785cf647a4ab / 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.501s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2021-10-07 23:07:57 |

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

2021-10-07 23:07:57 | ------------------------------------

2021-10-07 23:07:57 | [Mutex] waiting for: [configured:node:node-cb4ca5f4-a180-45db-92fc-38803dfad2dd:node-2fd2e972-a8de-4fe2-95c1-37e6bcc19bd9]

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

2021-10-07 23:07:58 | [Mutex] isItemNotified: configured:node:node-cb4ca5f4-a180-45db-92fc-38803dfad2dd:node-2fd2e972-a8de-4fe2-95c1-37e6bcc19bd9 :: true

2021-10-07 23:07:59 | [Mutex] waiting for: [received:nodes:81633a42-80bf-4974-87ed-d2e6c8bd7f02:localhost]

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

2021-10-07 23:07:59 | [Mutex] isItemNotified: received:node:81633a42-80bf-4974-87ed-d2e6c8bd7f02:localhost:node-cb4ca5f4-a180-45db-92fc-38803dfad2dd:Node cb4ca5f4-a180-45db-92fc-38803dfad2dd :: true

2021-10-07 23:07:59 | [Mutex] waiting for: [received:nodes:794e3cd2-8fea-4f6c-b6d7-a899fe3e95d3:localhost]

2021-10-07 23:07:59 | [Mutex] waiting for: [received:nodes:794e3cd2-8fea-4f6c-b6d7-a899fe3e95d3:localhost]

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

2021-10-07 23:07:59 | [Mutex] isItemNotified: received:node:794e3cd2-8fea-4f6c-b6d7-a899fe3e95d3:localhost:node-cb4ca5f4-a180-45db-92fc-38803dfad2dd:Node cb4ca5f4-a180-45db-92fc-38803dfad2dd :: false

createNodes 1.637s
2021-10-07 23:07:55 |

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

2021-10-07 23:07:55 | ------------------------------------

2021-10-07 23:07:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cb4ca5f4-a180-45db-92fc-38803dfad2dd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cb4ca5f4-a180-45db-92fc-38803dfad2dd</title></pubsub></data>

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

2021-10-07 23:07:56 | [Mutex] waiting for: [received:nodes:3180ea98-0e08-49fe-a8ea-930b4d6cea0c:localhost]

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

2021-10-07 23:07:56 | [Mutex] isItemNotified: received:node:3180ea98-0e08-49fe-a8ea-930b4d6cea0c:localhost:node-cb4ca5f4-a180-45db-92fc-38803dfad2dd:Node cb4ca5f4-a180-45db-92fc-38803dfad2dd :: true

createSubnodes 1.028s
2021-10-07 23:07:56 |

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

2021-10-07 23:07:56 | ------------------------------------

2021-10-07 23:07:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2fd2e972-a8de-4fe2-95c1-37e6bcc19bd9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2fd2e972-a8de-4fe2-95c1-37e6bcc19bd9</title></pubsub></data>

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

2021-10-07 23:07:57 | [Mutex] waiting for: [received:nodes:c26b4cc4-ae0a-43f5-8bc3-9ce7e19df84b:localhost]

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

2021-10-07 23:07:57 | [Mutex] isItemNotified: received:node:c26b4cc4-ae0a-43f5-8bc3-9ce7e19df84b:localhost:node-2fd2e972-a8de-4fe2-95c1-37e6bcc19bd9:Node 2fd2e972-a8de-4fe2-95c1-37e6bcc19bd9 :: true

deleteNodes 1.021s
2021-10-07 23:08:03 |

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

2021-10-07 23:08:03 | ------------------------------------

2021-10-07 23:08:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2fd2e972-a8de-4fe2-95c1-37e6bcc19bd9</node></data>

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

2021-10-07 23:08:04 | [Mutex] waiting for: [received:nodes:eb7e1030-fbb2-4b5e-b4c5-a4ba6185bf97:localhost]

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

2021-10-07 23:08:04 | [Mutex] isItemNotified: received:node:eb7e1030-fbb2-4b5e-b4c5-a4ba6185bf97:localhost:node-2fd2e972-a8de-4fe2-95c1-37e6bcc19bd9:Node 2fd2e972-a8de-4fe2-95c1-37e6bcc19bd9 :: false

deleteSubnodes 1.138s
2021-10-07 23:08:02 |

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

2021-10-07 23:08:02 | ------------------------------------

2021-10-07 23:08:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cb4ca5f4-a180-45db-92fc-38803dfad2dd</node></data>

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

2021-10-07 23:08:03 | [Mutex] waiting for: [received:nodes:5a1e4ce5-47ab-495d-89d2-1de68dca9434:localhost]

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

2021-10-07 23:08:03 | [Mutex] isItemNotified: received:node:5a1e4ce5-47ab-495d-89d2-1de68dca9434:localhost:node-cb4ca5f4-a180-45db-92fc-38803dfad2dd:Node cb4ca5f4-a180-45db-92fc-38803dfad2dd :: false

2021-10-07 23:08:03 | [Mutex] waiting for: [received:nodes:96de58bc-868b-4f67-91db-d45829289808:localhost]

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

2021-10-07 23:08:03 | [Mutex] isItemNotified: received:node:96de58bc-868b-4f67-91db-d45829289808:localhost:node-cb4ca5f4-a180-45db-92fc-38803dfad2dd:Node cb4ca5f4-a180-45db-92fc-38803dfad2dd :: false

publishItemsToNodes 0.319s
2021-10-07 23:08:00 |

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

2021-10-07 23:08:00 | ------------------------------------

2021-10-07 23:08:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cb4ca5f4-a180-45db-92fc-38803dfad2dd</node><item-id>item-09241d06-d307-4981-80ac-cdce6eb81eee</item-id><entry><test>item-09241d06-d307-4981-80ac-cdce6eb81eee</test></entry></data>

2021-10-07 23:08: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-09241d06-d307-4981-80ac-cdce6eb81eee</value></item-id></result>

2021-10-07 23:08:00 | [Mutex] waiting for: [published:item:notifieditem-09241d06-d307-4981-80ac-cdce6eb81eee:admin@test-domain.com]

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

2021-10-07 23:08:00 | [Mutex] isItemNotified: published:item:notifieditem-09241d06-d307-4981-80ac-cdce6eb81eee:admin@test-domain.com :: true

retractItemsFromNodes 0.347s
2021-10-07 23:08:00 |

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

2021-10-07 23:08:00 | ------------------------------------

2021-10-07 23:08:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cb4ca5f4-a180-45db-92fc-38803dfad2dd</node><item-id>item-09241d06-d307-4981-80ac-cdce6eb81eee</item-id></data>

2021-10-07 23:08: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-09241d06-d307-4981-80ac-cdce6eb81eee</value></item-id></result>

2021-10-07 23:08:01 | [Mutex] waiting for: [retracted:item:notifieditem-09241d06-d307-4981-80ac-cdce6eb81eee:admin@test-domain.com]

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

2021-10-07 23:08:01 | [Mutex] isItemNotified: retracted:item:notifieditem-09241d06-d307-4981-80ac-cdce6eb81eee:admin@test-domain.com :: true

retrieveItemsFromNodes 0.245s
2021-10-07 23:08:00 |

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

2021-10-07 23:08:00 | ------------------------------------

2021-10-07 23:08:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cb4ca5f4-a180-45db-92fc-38803dfad2dd</node><item-id>item-09241d06-d307-4981-80ac-cdce6eb81eee</item-id></data>

2021-10-07 23:08:00 | 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-cb4ca5f4-a180-45db-92fc-38803dfad2dd</value></node><item-id label="Item ID" type="text-single"><value>item-09241d06-d307-4981-80ac-cdce6eb81eee</value></item-id><item label="Item" type="text-multi"><value><item id="item-09241d06-d307-4981-80ac-cdce6eb81eee"><test>item-09241d06-d307-4981-80ac-cdce6eb81eee</test></item></value></item></result>

2021-10-07 23:08:00 | [Mutex] notify: [retrieved:item:item-09241d06-d307-4981-80ac-cdce6eb81eee:payload-matches:true:localhost]

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

2021-10-07 23:08:00 | [Mutex] isItemNotified: retrieved:item:item-09241d06-d307-4981-80ac-cdce6eb81eee:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-10-07 23:08:00 |

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

2021-10-07 23:08:00 | ------------------------------------

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

2021-10-07 23:08:00 | 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-cb4ca5f4-a180-45db-92fc-38803dfad2dd</value><value>node-2fd2e972-a8de-4fe2-95c1-37e6bcc19bd9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-10-07 23:08:00 |

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

2021-10-07 23:08:00 | ------------------------------------

2021-10-07 23:08:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cb4ca5f4-a180-45db-92fc-38803dfad2dd)</node-pattern></data>

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

subscribeNodes 1.235s
2021-10-07 23:07:59 |

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

2021-10-07 23:07:59 | ------------------------------------

2021-10-07 23:07:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cb4ca5f4-a180-45db-92fc-38803dfad2dd</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-07 23:07: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.335s
2021-10-07 23:08:01 |

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

2021-10-07 23:08:01 | ------------------------------------

2021-10-07 23:08:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cb4ca5f4-a180-45db-92fc-38803dfad2dd</node><jids><value>admin@test-domain.com</value></jids></data>

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