Generated by TestNG with ReportNG at 21:17 PST on Tuesday 26 January 2021
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.976s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2021-01-26 21:32:03 |

2021-01-26 21:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:03 | ------------------------------------

2021-01-26 21:32:03 | [Mutex] waiting for: [configured:node:node-01a2dac2-86bc-4406-82a0-bbbe9c833f88:node-9169fbb3-238a-4e42-97ae-cae702a08c5e]

2021-01-26 21:32:03 | [Mutex] received everything.

2021-01-26 21:32:03 | [Mutex] isItemNotified: configured:node:node-01a2dac2-86bc-4406-82a0-bbbe9c833f88:node-9169fbb3-238a-4e42-97ae-cae702a08c5e :: true

2021-01-26 21:32:04 | [Mutex] waiting for: [received:nodes:f5c2285e-1eec-4f78-ad0f-727c934aaf19:localhost]

2021-01-26 21:32:04 | [Mutex] received everything.

2021-01-26 21:32:04 | [Mutex] isItemNotified: received:node:f5c2285e-1eec-4f78-ad0f-727c934aaf19:localhost:node-01a2dac2-86bc-4406-82a0-bbbe9c833f88:Node 01a2dac2-86bc-4406-82a0-bbbe9c833f88 :: true

2021-01-26 21:32:04 | [Mutex] waiting for: [received:nodes:143c7d5c-f7c7-4362-a094-3d8657d32038:localhost]

2021-01-26 21:32:04 | [Mutex] waiting for: [received:nodes:143c7d5c-f7c7-4362-a094-3d8657d32038:localhost]

2021-01-26 21:32:04 | [Mutex] waiting for: [received:nodes:143c7d5c-f7c7-4362-a094-3d8657d32038:localhost]

2021-01-26 21:32:04 | [Mutex] received everything.

2021-01-26 21:32:04 | [Mutex] isItemNotified: received:node:143c7d5c-f7c7-4362-a094-3d8657d32038:localhost:node-01a2dac2-86bc-4406-82a0-bbbe9c833f88:Node 01a2dac2-86bc-4406-82a0-bbbe9c833f88 :: false

createNodes 1.672s
2021-01-26 21:32:00 |

2021-01-26 21:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:00 | ------------------------------------

2021-01-26 21:32:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-01a2dac2-86bc-4406-82a0-bbbe9c833f88</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 01a2dac2-86bc-4406-82a0-bbbe9c833f88</title></pubsub></data>

2021-01-26 21:32:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-26 21:32:02 | [Mutex] waiting for: [received:nodes:011ad9c3-afe4-4d5f-8f20-ab6c325f2393:localhost]

2021-01-26 21:32:02 | [Mutex] received everything.

2021-01-26 21:32:02 | [Mutex] isItemNotified: received:node:011ad9c3-afe4-4d5f-8f20-ab6c325f2393:localhost:node-01a2dac2-86bc-4406-82a0-bbbe9c833f88:Node 01a2dac2-86bc-4406-82a0-bbbe9c833f88 :: true

createSubnodes 1.024s
2021-01-26 21:32:02 |

2021-01-26 21:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:02 | ------------------------------------

2021-01-26 21:32:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9169fbb3-238a-4e42-97ae-cae702a08c5e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9169fbb3-238a-4e42-97ae-cae702a08c5e</title></pubsub></data>

2021-01-26 21:32:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-26 21:32:03 | [Mutex] waiting for: [received:nodes:68b3096e-067d-4239-861c-f22c3b91cff5:localhost]

2021-01-26 21:32:03 | [Mutex] received everything.

2021-01-26 21:32:03 | [Mutex] isItemNotified: received:node:68b3096e-067d-4239-861c-f22c3b91cff5:localhost:node-9169fbb3-238a-4e42-97ae-cae702a08c5e:Node 9169fbb3-238a-4e42-97ae-cae702a08c5e :: true

deleteNodes 1.018s
2021-01-26 21:32:08 |

2021-01-26 21:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:08 | ------------------------------------

2021-01-26 21:32:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9169fbb3-238a-4e42-97ae-cae702a08c5e</node></data>

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

2021-01-26 21:32:09 | [Mutex] waiting for: [received:nodes:91e2adbd-1065-483d-95f7-1650e148f25c:localhost]

2021-01-26 21:32:09 | [Mutex] waiting for: [received:nodes:91e2adbd-1065-483d-95f7-1650e148f25c:localhost]

2021-01-26 21:32:09 | [Mutex] received everything.

2021-01-26 21:32:09 | [Mutex] isItemNotified: received:node:91e2adbd-1065-483d-95f7-1650e148f25c:localhost:node-9169fbb3-238a-4e42-97ae-cae702a08c5e:Node 9169fbb3-238a-4e42-97ae-cae702a08c5e :: false

deleteSubnodes 1.113s
2021-01-26 21:32:07 |

2021-01-26 21:32:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:07 | ------------------------------------

2021-01-26 21:32:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-01a2dac2-86bc-4406-82a0-bbbe9c833f88</node></data>

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

2021-01-26 21:32:08 | [Mutex] waiting for: [received:nodes:a3d90698-8400-4d8a-b16c-7006f391aa2c:localhost]

2021-01-26 21:32:08 | [Mutex] waiting for: [received:nodes:a3d90698-8400-4d8a-b16c-7006f391aa2c:localhost]

2021-01-26 21:32:08 | [Mutex] received everything.

2021-01-26 21:32:08 | [Mutex] isItemNotified: received:node:a3d90698-8400-4d8a-b16c-7006f391aa2c:localhost:node-01a2dac2-86bc-4406-82a0-bbbe9c833f88:Node 01a2dac2-86bc-4406-82a0-bbbe9c833f88 :: false

2021-01-26 21:32:08 | [Mutex] waiting for: [received:nodes:c7629e1d-f1e8-4926-a1cc-c886242b5427:localhost]

2021-01-26 21:32:08 | [Mutex] received everything.

2021-01-26 21:32:08 | [Mutex] isItemNotified: received:node:c7629e1d-f1e8-4926-a1cc-c886242b5427:localhost:node-01a2dac2-86bc-4406-82a0-bbbe9c833f88:Node 01a2dac2-86bc-4406-82a0-bbbe9c833f88 :: false

publishItemsToNodes 0.229s
2021-01-26 21:32:05 |

2021-01-26 21:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:05 | ------------------------------------

2021-01-26 21:32:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-01a2dac2-86bc-4406-82a0-bbbe9c833f88</node><item-id>item-31d773e8-775d-4bb6-83ec-d77ed578a19a</item-id><entry><test>item-31d773e8-775d-4bb6-83ec-d77ed578a19a</test></entry></data>

2021-01-26 21:32:05 | 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-31d773e8-775d-4bb6-83ec-d77ed578a19a</value></item-id></result>

2021-01-26 21:32:05 | [Mutex] waiting for: [published:item:notifieditem-31d773e8-775d-4bb6-83ec-d77ed578a19a:admin@test-domain.com]

2021-01-26 21:32:05 | [Mutex] received everything.

2021-01-26 21:32:05 | [Mutex] isItemNotified: published:item:notifieditem-31d773e8-775d-4bb6-83ec-d77ed578a19a:admin@test-domain.com :: true

retractItemsFromNodes 0.308s
2021-01-26 21:32:05 |

2021-01-26 21:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:05 | ------------------------------------

2021-01-26 21:32:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-01a2dac2-86bc-4406-82a0-bbbe9c833f88</node><item-id>item-31d773e8-775d-4bb6-83ec-d77ed578a19a</item-id></data>

2021-01-26 21:32:06 | 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-31d773e8-775d-4bb6-83ec-d77ed578a19a</value></item-id></result>

2021-01-26 21:32:06 | [Mutex] received everything.

2021-01-26 21:32:06 | [Mutex] isItemNotified: retracted:item:notifieditem-31d773e8-775d-4bb6-83ec-d77ed578a19a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.223s
2021-01-26 21:32:05 |

2021-01-26 21:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:05 | ------------------------------------

2021-01-26 21:32:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-01a2dac2-86bc-4406-82a0-bbbe9c833f88</node><item-id>item-31d773e8-775d-4bb6-83ec-d77ed578a19a</item-id></data>

2021-01-26 21:32:05 | 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-01a2dac2-86bc-4406-82a0-bbbe9c833f88</value></node><item-id label="Item ID" type="text-single"><value>item-31d773e8-775d-4bb6-83ec-d77ed578a19a</value></item-id><item label="Item" type="text-multi"><value><item id="item-31d773e8-775d-4bb6-83ec-d77ed578a19a"><test>item-31d773e8-775d-4bb6-83ec-d77ed578a19a</test></item></value></item></result>

2021-01-26 21:32:05 | [Mutex] notify: [retrieved:item:item-31d773e8-775d-4bb6-83ec-d77ed578a19a:payload-matches:true:localhost]

2021-01-26 21:32:05 | [Mutex] received everything.

2021-01-26 21:32:05 | [Mutex] isItemNotified: retrieved:item:item-31d773e8-775d-4bb6-83ec-d77ed578a19a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-01-26 21:32:05 |

2021-01-26 21:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:05 | ------------------------------------

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

2021-01-26 21:32:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-01a2dac2-86bc-4406-82a0-bbbe9c833f88</value><value>test</value><value>node-9169fbb3-238a-4e42-97ae-cae702a08c5e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-01-26 21:32:05 |

2021-01-26 21:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:05 | ------------------------------------

2021-01-26 21:32:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-01a2dac2-86bc-4406-82a0-bbbe9c833f88)</node-pattern></data>

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

subscribeNodes 1.152s
2021-01-26 21:32:04 |

2021-01-26 21:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:04 | ------------------------------------

2021-01-26 21:32:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-01a2dac2-86bc-4406-82a0-bbbe9c833f88</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-26 21:32:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.176s
2021-01-26 21:32:06 |

2021-01-26 21:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:32:06 | ------------------------------------

2021-01-26 21:32:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-01a2dac2-86bc-4406-82a0-bbbe9c833f88</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-26 21:32:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>