Generated by TestNG with ReportNG at 21:13 PST on Wednesday 18 November 2020
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.052s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2020-11-18 21:27:01 |

2020-11-18 21:27:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:01 | ------------------------------------

2020-11-18 21:27:01 | [Mutex] waiting for: [configured:node:node-61a98469-c4e3-4920-a2ae-9e119c9047d0:node-e90aa64a-9e79-42ae-9c47-9033f52dda17]

2020-11-18 21:27:01 | [Mutex] received everything.

2020-11-18 21:27:01 | [Mutex] isItemNotified: configured:node:node-61a98469-c4e3-4920-a2ae-9e119c9047d0:node-e90aa64a-9e79-42ae-9c47-9033f52dda17 :: true

2020-11-18 21:27:02 | [Mutex] waiting for: [received:nodes:b939a931-8fbf-4d36-88e0-9911a281bfe6:localhost]

2020-11-18 21:27:02 | [Mutex] received everything.

2020-11-18 21:27:02 | [Mutex] isItemNotified: received:node:b939a931-8fbf-4d36-88e0-9911a281bfe6:localhost:node-61a98469-c4e3-4920-a2ae-9e119c9047d0:Node 61a98469-c4e3-4920-a2ae-9e119c9047d0 :: true

2020-11-18 21:27:02 | [Mutex] waiting for: [received:nodes:1c404cf4-bf8d-4dd4-b63c-8cda80b8de90:localhost]

2020-11-18 21:27:02 | [Mutex] waiting for: [received:nodes:1c404cf4-bf8d-4dd4-b63c-8cda80b8de90:localhost]

2020-11-18 21:27:02 | [Mutex] received everything.

2020-11-18 21:27:02 | [Mutex] isItemNotified: received:node:1c404cf4-bf8d-4dd4-b63c-8cda80b8de90:localhost:node-61a98469-c4e3-4920-a2ae-9e119c9047d0:Node 61a98469-c4e3-4920-a2ae-9e119c9047d0 :: false

createNodes 1.393s
2020-11-18 21:26:59 |

2020-11-18 21:26:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:26:59 | ------------------------------------

2020-11-18 21:26:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-61a98469-c4e3-4920-a2ae-9e119c9047d0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 61a98469-c4e3-4920-a2ae-9e119c9047d0</title></pubsub></data>

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

2020-11-18 21:27:00 | [Mutex] waiting for: [received:nodes:10e6638b-4de8-4b81-907e-16eb22abd319:localhost]

2020-11-18 21:27:00 | [Mutex] received everything.

2020-11-18 21:27:00 | [Mutex] isItemNotified: received:node:10e6638b-4de8-4b81-907e-16eb22abd319:localhost:node-61a98469-c4e3-4920-a2ae-9e119c9047d0:Node 61a98469-c4e3-4920-a2ae-9e119c9047d0 :: true

createSubnodes 1.025s
2020-11-18 21:27:00 |

2020-11-18 21:27:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:00 | ------------------------------------

2020-11-18 21:27:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e90aa64a-9e79-42ae-9c47-9033f52dda17</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e90aa64a-9e79-42ae-9c47-9033f52dda17</title></pubsub></data>

2020-11-18 21:27:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-18 21:27:01 | [Mutex] waiting for: [received:nodes:0583a863-42d1-4c89-ac9c-de9ec7bf12d6:localhost]

2020-11-18 21:27:01 | [Mutex] received everything.

2020-11-18 21:27:01 | [Mutex] isItemNotified: received:node:0583a863-42d1-4c89-ac9c-de9ec7bf12d6:localhost:node-e90aa64a-9e79-42ae-9c47-9033f52dda17:Node e90aa64a-9e79-42ae-9c47-9033f52dda17 :: true

deleteNodes 1.021s
2020-11-18 21:27:07 |

2020-11-18 21:27:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:07 | ------------------------------------

2020-11-18 21:27:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e90aa64a-9e79-42ae-9c47-9033f52dda17</node></data>

2020-11-18 21:27:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-18 21:27:08 | [Mutex] waiting for: [received:nodes:d60d0994-9b07-460d-942a-38400552a00f:localhost]

2020-11-18 21:27:08 | [Mutex] received everything.

2020-11-18 21:27:08 | [Mutex] isItemNotified: received:node:d60d0994-9b07-460d-942a-38400552a00f:localhost:node-e90aa64a-9e79-42ae-9c47-9033f52dda17:Node e90aa64a-9e79-42ae-9c47-9033f52dda17 :: false

deleteSubnodes 1.120s
2020-11-18 21:27:06 |

2020-11-18 21:27:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:06 | ------------------------------------

2020-11-18 21:27:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-61a98469-c4e3-4920-a2ae-9e119c9047d0</node></data>

2020-11-18 21:27:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-18 21:27:07 | [Mutex] waiting for: [received:nodes:07e97b1c-caf6-4c07-a563-6aa3a6bbee54:localhost]

2020-11-18 21:27:07 | [Mutex] waiting for: [received:nodes:07e97b1c-caf6-4c07-a563-6aa3a6bbee54:localhost]

2020-11-18 21:27:07 | [Mutex] received everything.

2020-11-18 21:27:07 | [Mutex] isItemNotified: received:node:07e97b1c-caf6-4c07-a563-6aa3a6bbee54:localhost:node-61a98469-c4e3-4920-a2ae-9e119c9047d0:Node 61a98469-c4e3-4920-a2ae-9e119c9047d0 :: false

2020-11-18 21:27:07 | [Mutex] waiting for: [received:nodes:a5819f78-e3da-4749-bf47-f12a29711451:localhost]

2020-11-18 21:27:07 | [Mutex] received everything.

2020-11-18 21:27:07 | [Mutex] isItemNotified: received:node:a5819f78-e3da-4749-bf47-f12a29711451:localhost:node-61a98469-c4e3-4920-a2ae-9e119c9047d0:Node 61a98469-c4e3-4920-a2ae-9e119c9047d0 :: false

publishItemsToNodes 0.257s
2020-11-18 21:27:03 |

2020-11-18 21:27:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:03 | ------------------------------------

2020-11-18 21:27:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-61a98469-c4e3-4920-a2ae-9e119c9047d0</node><item-id>item-53356e59-1edb-4590-b4d7-090a10e69b5d</item-id><entry><test>item-53356e59-1edb-4590-b4d7-090a10e69b5d</test></entry></data>

2020-11-18 21:27:04 | 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-53356e59-1edb-4590-b4d7-090a10e69b5d</value></item-id></result>

2020-11-18 21:27:04 | [Mutex] waiting for: [published:item:notifieditem-53356e59-1edb-4590-b4d7-090a10e69b5d:admin@test-domain.com]

2020-11-18 21:27:04 | [Mutex] received everything.

2020-11-18 21:27:04 | [Mutex] isItemNotified: published:item:notifieditem-53356e59-1edb-4590-b4d7-090a10e69b5d:admin@test-domain.com :: true

retractItemsFromNodes 0.285s
2020-11-18 21:27:04 |

2020-11-18 21:27:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:04 | ------------------------------------

2020-11-18 21:27:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-61a98469-c4e3-4920-a2ae-9e119c9047d0</node><item-id>item-53356e59-1edb-4590-b4d7-090a10e69b5d</item-id></data>

2020-11-18 21:27: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-53356e59-1edb-4590-b4d7-090a10e69b5d</value></item-id></result>

2020-11-18 21:27:04 | [Mutex] received everything.

2020-11-18 21:27:04 | [Mutex] isItemNotified: retracted:item:notifieditem-53356e59-1edb-4590-b4d7-090a10e69b5d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.348s
2020-11-18 21:27:04 |

2020-11-18 21:27:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:04 | ------------------------------------

2020-11-18 21:27:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-61a98469-c4e3-4920-a2ae-9e119c9047d0</node><item-id>item-53356e59-1edb-4590-b4d7-090a10e69b5d</item-id></data>

2020-11-18 21:27: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-61a98469-c4e3-4920-a2ae-9e119c9047d0</value></node><item-id label="Item ID" type="text-single"><value>item-53356e59-1edb-4590-b4d7-090a10e69b5d</value></item-id><item label="Item" type="text-multi"><value><item id="item-53356e59-1edb-4590-b4d7-090a10e69b5d"><test>item-53356e59-1edb-4590-b4d7-090a10e69b5d</test></item></value></item></result>

2020-11-18 21:27:04 | [Mutex] notify: [retrieved:item:item-53356e59-1edb-4590-b4d7-090a10e69b5d:payload-matches:true:localhost]

2020-11-18 21:27:04 | [Mutex] received everything.

2020-11-18 21:27:04 | [Mutex] isItemNotified: retrieved:item:item-53356e59-1edb-4590-b4d7-090a10e69b5d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-11-18 21:27:04 |

2020-11-18 21:27:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:04 | ------------------------------------

2020-11-18 21:27:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-18 21:27:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-61a98469-c4e3-4920-a2ae-9e119c9047d0</value><value>test</value><value>node-e90aa64a-9e79-42ae-9c47-9033f52dda17</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-11-18 21:27:04 |

2020-11-18 21:27:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:04 | ------------------------------------

2020-11-18 21:27: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-61a98469-c4e3-4920-a2ae-9e119c9047d0)</node-pattern></data>

2020-11-18 21:27:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.103s
2020-11-18 21:27:02 |

2020-11-18 21:27:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:02 | ------------------------------------

2020-11-18 21:27:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-61a98469-c4e3-4920-a2ae-9e119c9047d0</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-18 21:27: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.358s
2020-11-18 21:27:04 |

2020-11-18 21:27:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:27:04 | ------------------------------------

2020-11-18 21:27:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-61a98469-c4e3-4920-a2ae-9e119c9047d0</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-18 21:27:05 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>