Generated by TestNG with ReportNG at 22:34 PDT on Thursday 25 March 2021
root@87f6aca6b6f2 / 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.619s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.128s
2021-03-25 22:49:01 |

2021-03-25 22:49:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:01 | ------------------------------------

2021-03-25 22:49:01 | [Mutex] waiting for: [configured:node:node-89421078-293d-425e-88a0-d3466f20d8a2:node-44e10247-6c0e-4534-83bc-9395ae1e9abf]

2021-03-25 22:49:01 | [Mutex] received everything.

2021-03-25 22:49:01 | [Mutex] isItemNotified: configured:node:node-89421078-293d-425e-88a0-d3466f20d8a2:node-44e10247-6c0e-4534-83bc-9395ae1e9abf :: true

2021-03-25 22:49:02 | [Mutex] waiting for: [received:nodes:971e8609-2484-409b-9fb7-7f206ab4bff2:localhost]

2021-03-25 22:49:02 | [Mutex] received everything.

2021-03-25 22:49:02 | [Mutex] isItemNotified: received:node:971e8609-2484-409b-9fb7-7f206ab4bff2:localhost:node-89421078-293d-425e-88a0-d3466f20d8a2:Node 89421078-293d-425e-88a0-d3466f20d8a2 :: true

2021-03-25 22:49:02 | [Mutex] waiting for: [received:nodes:cfc0d6d5-bf87-4668-bd4d-d20d03ca199f:localhost]

2021-03-25 22:49:02 | [Mutex] received everything.

2021-03-25 22:49:02 | [Mutex] isItemNotified: received:node:cfc0d6d5-bf87-4668-bd4d-d20d03ca199f:localhost:node-89421078-293d-425e-88a0-d3466f20d8a2:Node 89421078-293d-425e-88a0-d3466f20d8a2 :: false

createNodes 1.642s
2021-03-25 22:48:58 |

2021-03-25 22:48:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:48:58 | ------------------------------------

2021-03-25 22:48:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-89421078-293d-425e-88a0-d3466f20d8a2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 89421078-293d-425e-88a0-d3466f20d8a2</title></pubsub></data>

2021-03-25 22:48:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-25 22:49:00 | [Mutex] waiting for: [received:nodes:38173646-9758-4f24-b628-2c665699621b:localhost]

2021-03-25 22:49:00 | [Mutex] received everything.

2021-03-25 22:49:00 | [Mutex] isItemNotified: received:node:38173646-9758-4f24-b628-2c665699621b:localhost:node-89421078-293d-425e-88a0-d3466f20d8a2:Node 89421078-293d-425e-88a0-d3466f20d8a2 :: true

createSubnodes 1.037s
2021-03-25 22:49:00 |

2021-03-25 22:49:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:00 | ------------------------------------

2021-03-25 22:49:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-44e10247-6c0e-4534-83bc-9395ae1e9abf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 44e10247-6c0e-4534-83bc-9395ae1e9abf</title></pubsub></data>

2021-03-25 22:49:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-25 22:49:01 | [Mutex] waiting for: [received:nodes:70025432-40b7-4747-a12c-89bfce178a93:localhost]

2021-03-25 22:49:01 | [Mutex] waiting for: [received:nodes:70025432-40b7-4747-a12c-89bfce178a93:localhost]

2021-03-25 22:49:01 | [Mutex] received everything.

2021-03-25 22:49:01 | [Mutex] isItemNotified: received:node:70025432-40b7-4747-a12c-89bfce178a93:localhost:node-44e10247-6c0e-4534-83bc-9395ae1e9abf:Node 44e10247-6c0e-4534-83bc-9395ae1e9abf :: true

deleteNodes 1.022s
2021-03-25 22:49:07 |

2021-03-25 22:49:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:07 | ------------------------------------

2021-03-25 22:49:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-44e10247-6c0e-4534-83bc-9395ae1e9abf</node></data>

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

2021-03-25 22:49:08 | [Mutex] waiting for: [received:nodes:7343a6e9-e7e9-4ab9-8721-4513183de2c5:localhost]

2021-03-25 22:49:08 | [Mutex] received everything.

2021-03-25 22:49:08 | [Mutex] isItemNotified: received:node:7343a6e9-e7e9-4ab9-8721-4513183de2c5:localhost:node-44e10247-6c0e-4534-83bc-9395ae1e9abf:Node 44e10247-6c0e-4534-83bc-9395ae1e9abf :: false

deleteSubnodes 1.153s
2021-03-25 22:49:05 |

2021-03-25 22:49:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:05 | ------------------------------------

2021-03-25 22:49:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-89421078-293d-425e-88a0-d3466f20d8a2</node></data>

2021-03-25 22:49:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-25 22:49:07 | [Mutex] waiting for: [received:nodes:89978788-79ab-4e03-b5b2-6f9e9dcfafa9:localhost]

2021-03-25 22:49:07 | [Mutex] received everything.

2021-03-25 22:49:07 | [Mutex] isItemNotified: received:node:89978788-79ab-4e03-b5b2-6f9e9dcfafa9:localhost:node-89421078-293d-425e-88a0-d3466f20d8a2:Node 89421078-293d-425e-88a0-d3466f20d8a2 :: false

2021-03-25 22:49:07 | [Mutex] waiting for: [received:nodes:f70461b0-04e3-4bdc-9f9f-ca6b204edcc2:localhost]

2021-03-25 22:49:07 | [Mutex] received everything.

2021-03-25 22:49:07 | [Mutex] isItemNotified: received:node:f70461b0-04e3-4bdc-9f9f-ca6b204edcc2:localhost:node-89421078-293d-425e-88a0-d3466f20d8a2:Node 89421078-293d-425e-88a0-d3466f20d8a2 :: false

publishItemsToNodes 0.316s
2021-03-25 22:49:03 |

2021-03-25 22:49:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:03 | ------------------------------------

2021-03-25 22:49:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-89421078-293d-425e-88a0-d3466f20d8a2</node><item-id>item-2a809639-37ec-428f-a3c6-7cfe5581f224</item-id><entry><test>item-2a809639-37ec-428f-a3c6-7cfe5581f224</test></entry></data>

2021-03-25 22:49:03 | 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-2a809639-37ec-428f-a3c6-7cfe5581f224</value></item-id></result>

2021-03-25 22:49:03 | [Mutex] waiting for: [published:item:notifieditem-2a809639-37ec-428f-a3c6-7cfe5581f224:admin@test-domain.com]

2021-03-25 22:49:03 | [Mutex] received everything.

2021-03-25 22:49:03 | [Mutex] isItemNotified: published:item:notifieditem-2a809639-37ec-428f-a3c6-7cfe5581f224:admin@test-domain.com :: true

retractItemsFromNodes 0.296s
2021-03-25 22:49:04 |

2021-03-25 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:04 | ------------------------------------

2021-03-25 22:49:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-89421078-293d-425e-88a0-d3466f20d8a2</node><item-id>item-2a809639-37ec-428f-a3c6-7cfe5581f224</item-id></data>

2021-03-25 22:49:04 | 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-2a809639-37ec-428f-a3c6-7cfe5581f224</value></item-id></result>

2021-03-25 22:49:04 | [Mutex] waiting for: [retracted:item:notifieditem-2a809639-37ec-428f-a3c6-7cfe5581f224:admin@test-domain.com]

2021-03-25 22:49:04 | [Mutex] received everything.

2021-03-25 22:49:04 | [Mutex] isItemNotified: retracted:item:notifieditem-2a809639-37ec-428f-a3c6-7cfe5581f224:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2021-03-25 22:49:03 |

2021-03-25 22:49:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:03 | ------------------------------------

2021-03-25 22:49:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-89421078-293d-425e-88a0-d3466f20d8a2</node><item-id>item-2a809639-37ec-428f-a3c6-7cfe5581f224</item-id></data>

2021-03-25 22:49:04 | 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-89421078-293d-425e-88a0-d3466f20d8a2</value></node><item-id label="Item ID" type="text-single"><value>item-2a809639-37ec-428f-a3c6-7cfe5581f224</value></item-id><item label="Item" type="text-multi"><value><item id="item-2a809639-37ec-428f-a3c6-7cfe5581f224"><test>item-2a809639-37ec-428f-a3c6-7cfe5581f224</test></item></value></item></result>

2021-03-25 22:49:04 | [Mutex] notify: [retrieved:item:item-2a809639-37ec-428f-a3c6-7cfe5581f224:payload-matches:true:localhost]

2021-03-25 22:49:04 | [Mutex] received everything.

2021-03-25 22:49:04 | [Mutex] isItemNotified: retrieved:item:item-2a809639-37ec-428f-a3c6-7cfe5581f224:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-03-25 22:49:04 |

2021-03-25 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:04 | ------------------------------------

2021-03-25 22:49:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-25 22:49:04 | 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-89421078-293d-425e-88a0-d3466f20d8a2</value><value>node-44e10247-6c0e-4534-83bc-9395ae1e9abf</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-03-25 22:49:04 |

2021-03-25 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:04 | ------------------------------------

2021-03-25 22:49:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-89421078-293d-425e-88a0-d3466f20d8a2)</node-pattern></data>

2021-03-25 22:49:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.194s
2021-03-25 22:49:02 |

2021-03-25 22:49:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:02 | ------------------------------------

2021-03-25 22:49:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-89421078-293d-425e-88a0-d3466f20d8a2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.375s
2021-03-25 22:49:04 |

2021-03-25 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:49:04 | ------------------------------------

2021-03-25 22:49:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-89421078-293d-425e-88a0-d3466f20d8a2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-25 22:49:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>