Generated by TestNG with ReportNG at 22:31 PDT on Wednesday 26 August 2020
root@729cee58eda8 / 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.131s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2020-08-26 22:48:57 |

2020-08-26 22:48:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:48:57 | ------------------------------------

2020-08-26 22:48:57 | [Mutex] waiting for: [configured:node:node-89aaf303-76cb-429f-8be3-1a37aa406f29:node-61908034-6ec0-4f5a-abfa-d159ed4652c6]

2020-08-26 22:48:57 | [Mutex] received everything.

2020-08-26 22:48:57 | [Mutex] isItemNotified: configured:node:node-89aaf303-76cb-429f-8be3-1a37aa406f29:node-61908034-6ec0-4f5a-abfa-d159ed4652c6 :: true

2020-08-26 22:48:58 | [Mutex] waiting for: [received:nodes:10dce291-ae34-4984-bea1-e65c7c7070bd:localhost]

2020-08-26 22:48:58 | [Mutex] received everything.

2020-08-26 22:48:58 | [Mutex] isItemNotified: received:node:10dce291-ae34-4984-bea1-e65c7c7070bd:localhost:node-89aaf303-76cb-429f-8be3-1a37aa406f29:Node 89aaf303-76cb-429f-8be3-1a37aa406f29 :: true

2020-08-26 22:48:58 | [Mutex] waiting for: [received:nodes:6b195462-7409-4412-9d75-015eab77af86:localhost]

2020-08-26 22:48:58 | [Mutex] received everything.

2020-08-26 22:48:58 | [Mutex] isItemNotified: received:node:6b195462-7409-4412-9d75-015eab77af86:localhost:node-89aaf303-76cb-429f-8be3-1a37aa406f29:Node 89aaf303-76cb-429f-8be3-1a37aa406f29 :: false

createNodes 1.520s
2020-08-26 22:48:54 |

2020-08-26 22:48:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:48:54 | ------------------------------------

2020-08-26 22:48:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-89aaf303-76cb-429f-8be3-1a37aa406f29</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 89aaf303-76cb-429f-8be3-1a37aa406f29</title></pubsub></data>

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

2020-08-26 22:48:56 | [Mutex] waiting for: [received:nodes:ebd9deba-c1b5-479e-9558-33c9ce60a3f4:localhost]

2020-08-26 22:48:56 | [Mutex] received everything.

2020-08-26 22:48:56 | [Mutex] isItemNotified: received:node:ebd9deba-c1b5-479e-9558-33c9ce60a3f4:localhost:node-89aaf303-76cb-429f-8be3-1a37aa406f29:Node 89aaf303-76cb-429f-8be3-1a37aa406f29 :: true

createSubnodes 1.027s
2020-08-26 22:48:56 |

2020-08-26 22:48:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:48:56 | ------------------------------------

2020-08-26 22:48:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-61908034-6ec0-4f5a-abfa-d159ed4652c6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 61908034-6ec0-4f5a-abfa-d159ed4652c6</title></pubsub></data>

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

2020-08-26 22:48:57 | [Mutex] waiting for: [received:nodes:ca2e2f4e-32f1-4f3e-85cc-03eaff2864fb:localhost]

2020-08-26 22:48:57 | [Mutex] received everything.

2020-08-26 22:48:57 | [Mutex] isItemNotified: received:node:ca2e2f4e-32f1-4f3e-85cc-03eaff2864fb:localhost:node-61908034-6ec0-4f5a-abfa-d159ed4652c6:Node 61908034-6ec0-4f5a-abfa-d159ed4652c6 :: true

deleteNodes 1.022s
2020-08-26 22:49:02 |

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

2020-08-26 22:49:02 | ------------------------------------

2020-08-26 22:49:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-61908034-6ec0-4f5a-abfa-d159ed4652c6</node></data>

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

2020-08-26 22:49:03 | [Mutex] waiting for: [received:nodes:a52f7974-c346-4c55-83f1-761a21b3549e:localhost]

2020-08-26 22:49:03 | [Mutex] received everything.

2020-08-26 22:49:03 | [Mutex] isItemNotified: received:node:a52f7974-c346-4c55-83f1-761a21b3549e:localhost:node-61908034-6ec0-4f5a-abfa-d159ed4652c6:Node 61908034-6ec0-4f5a-abfa-d159ed4652c6 :: false

deleteSubnodes 1.123s
2020-08-26 22:49:01 |

2020-08-26 22:49:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:49:01 | ------------------------------------

2020-08-26 22:49:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-89aaf303-76cb-429f-8be3-1a37aa406f29</node></data>

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

2020-08-26 22:49:02 | [Mutex] waiting for: [received:nodes:ba63534c-c1e0-4720-8075-0d9928d6b547:localhost]

2020-08-26 22:49:02 | [Mutex] waiting for: [received:nodes:ba63534c-c1e0-4720-8075-0d9928d6b547:localhost]

2020-08-26 22:49:02 | [Mutex] received everything.

2020-08-26 22:49:02 | [Mutex] isItemNotified: received:node:ba63534c-c1e0-4720-8075-0d9928d6b547:localhost:node-89aaf303-76cb-429f-8be3-1a37aa406f29:Node 89aaf303-76cb-429f-8be3-1a37aa406f29 :: false

2020-08-26 22:49:02 | [Mutex] waiting for: [received:nodes:851d0c15-55cd-43dc-b641-1c8242122483:localhost]

2020-08-26 22:49:02 | [Mutex] received everything.

2020-08-26 22:49:02 | [Mutex] isItemNotified: received:node:851d0c15-55cd-43dc-b641-1c8242122483:localhost:node-89aaf303-76cb-429f-8be3-1a37aa406f29:Node 89aaf303-76cb-429f-8be3-1a37aa406f29 :: false

publishItemsToNodes 0.183s
2020-08-26 22:48:59 |

2020-08-26 22:48:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:48:59 | ------------------------------------

2020-08-26 22:48:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-89aaf303-76cb-429f-8be3-1a37aa406f29</node><item-id>item-97933d51-ae3f-4a78-a549-b222466d8522</item-id><entry><test>item-97933d51-ae3f-4a78-a549-b222466d8522</test></entry></data>

2020-08-26 22:48:59 | 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-97933d51-ae3f-4a78-a549-b222466d8522</value></item-id></result>

2020-08-26 22:48:59 | [Mutex] waiting for: [published:item:notifieditem-97933d51-ae3f-4a78-a549-b222466d8522:admin@test-domain.com]

2020-08-26 22:48:59 | [Mutex] received everything.

2020-08-26 22:48:59 | [Mutex] isItemNotified: published:item:notifieditem-97933d51-ae3f-4a78-a549-b222466d8522:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2020-08-26 22:49:00 |

2020-08-26 22:49:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:49:00 | ------------------------------------

2020-08-26 22:49:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-89aaf303-76cb-429f-8be3-1a37aa406f29</node><item-id>item-97933d51-ae3f-4a78-a549-b222466d8522</item-id></data>

2020-08-26 22:49:00 | 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-97933d51-ae3f-4a78-a549-b222466d8522</value></item-id></result>

2020-08-26 22:49:00 | [Mutex] received everything.

2020-08-26 22:49:00 | [Mutex] isItemNotified: retracted:item:notifieditem-97933d51-ae3f-4a78-a549-b222466d8522:admin@test-domain.com :: true

retrieveItemsFromNodes 0.266s
2020-08-26 22:48:59 |

2020-08-26 22:48:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:48:59 | ------------------------------------

2020-08-26 22:48:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-89aaf303-76cb-429f-8be3-1a37aa406f29</node><item-id>item-97933d51-ae3f-4a78-a549-b222466d8522</item-id></data>

2020-08-26 22:49: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-89aaf303-76cb-429f-8be3-1a37aa406f29</value></node><item-id label="Item ID" type="text-single"><value>item-97933d51-ae3f-4a78-a549-b222466d8522</value></item-id><item label="Item" type="text-multi"><value><item id="item-97933d51-ae3f-4a78-a549-b222466d8522"><test>item-97933d51-ae3f-4a78-a549-b222466d8522</test></item></value></item></result>

2020-08-26 22:49:00 | [Mutex] notify: [retrieved:item:item-97933d51-ae3f-4a78-a549-b222466d8522:payload-matches:true:localhost]

2020-08-26 22:49:00 | [Mutex] received everything.

2020-08-26 22:49:00 | [Mutex] isItemNotified: retrieved:item:item-97933d51-ae3f-4a78-a549-b222466d8522:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-08-26 22:49:00 |

2020-08-26 22:49:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:49:00 | ------------------------------------

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

2020-08-26 22:49: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-61908034-6ec0-4f5a-abfa-d159ed4652c6</value><value>node-89aaf303-76cb-429f-8be3-1a37aa406f29</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-08-26 22:49:00 |

2020-08-26 22:49:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:49:00 | ------------------------------------

2020-08-26 22:49: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-89aaf303-76cb-429f-8be3-1a37aa406f29)</node-pattern></data>

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

subscribeNodes 1.141s
2020-08-26 22:48:58 |

2020-08-26 22:48:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:48:58 | ------------------------------------

2020-08-26 22:48:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-89aaf303-76cb-429f-8be3-1a37aa406f29</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-26 22:48:58 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.295s
2020-08-26 22:49:00 |

2020-08-26 22:49:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:49:00 | ------------------------------------

2020-08-26 22:49:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-89aaf303-76cb-429f-8be3-1a37aa406f29</node><jids><value>admin@test-domain.com</value></jids></data>

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