Generated by TestNG with ReportNG at 22:50 PDT on Friday 02 October 2020
root@43fec6d4badf / 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.039s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2020-10-02 23:05:03 |

2020-10-02 23:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:05:03 | ------------------------------------

2020-10-02 23:05:03 | [Mutex] waiting for: [configured:node:node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d:node-4a509921-7746-4488-9973-62f279610c35]

2020-10-02 23:05:03 | [Mutex] received everything.

2020-10-02 23:05:03 | [Mutex] isItemNotified: configured:node:node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d:node-4a509921-7746-4488-9973-62f279610c35 :: true

2020-10-02 23:05:04 | [Mutex] waiting for: [received:nodes:9a516c51-683a-41fb-8bd9-ac181e4dda28:localhost]

2020-10-02 23:05:04 | [Mutex] received everything.

2020-10-02 23:05:04 | [Mutex] isItemNotified: received:node:9a516c51-683a-41fb-8bd9-ac181e4dda28:localhost:node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d:Node fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d :: true

2020-10-02 23:05:04 | [Mutex] waiting for: [received:nodes:2305b936-9209-4e9f-bea9-09241ef4d0a3:localhost]

2020-10-02 23:05:04 | [Mutex] waiting for: [received:nodes:2305b936-9209-4e9f-bea9-09241ef4d0a3:localhost]

2020-10-02 23:05:04 | [Mutex] received everything.

2020-10-02 23:05:04 | [Mutex] isItemNotified: received:node:2305b936-9209-4e9f-bea9-09241ef4d0a3:localhost:node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d:Node fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d :: false

createNodes 1.456s
2020-10-02 23:05:00 |

2020-10-02 23:05:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:05:00 | ------------------------------------

2020-10-02 23:05:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d</title></pubsub></data>

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

2020-10-02 23:05:02 | [Mutex] waiting for: [received:nodes:c211c5ce-96ef-4d2d-87b2-e24ad1baf9c6:localhost]

2020-10-02 23:05:02 | [Mutex] waiting for: [received:nodes:c211c5ce-96ef-4d2d-87b2-e24ad1baf9c6:localhost]

2020-10-02 23:05:02 | [Mutex] received everything.

2020-10-02 23:05:02 | [Mutex] isItemNotified: received:node:c211c5ce-96ef-4d2d-87b2-e24ad1baf9c6:localhost:node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d:Node fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d :: true

createSubnodes 1.030s
2020-10-02 23:05:02 |

2020-10-02 23:05:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:05:02 | ------------------------------------

2020-10-02 23:05:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4a509921-7746-4488-9973-62f279610c35</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4a509921-7746-4488-9973-62f279610c35</title></pubsub></data>

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

2020-10-02 23:05:03 | [Mutex] waiting for: [received:nodes:3b5c76d0-c701-487a-a87a-94de986acae5:localhost]

2020-10-02 23:05:03 | [Mutex] received everything.

2020-10-02 23:05:03 | [Mutex] isItemNotified: received:node:3b5c76d0-c701-487a-a87a-94de986acae5:localhost:node-4a509921-7746-4488-9973-62f279610c35:Node 4a509921-7746-4488-9973-62f279610c35 :: true

deleteNodes 1.028s
2020-10-02 23:05:08 |

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

2020-10-02 23:05:08 | ------------------------------------

2020-10-02 23:05:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4a509921-7746-4488-9973-62f279610c35</node></data>

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

2020-10-02 23:05:09 | [Mutex] waiting for: [received:nodes:3aaea2c7-176e-4762-8de0-d91ccdf3653d:localhost]

2020-10-02 23:05:09 | [Mutex] received everything.

2020-10-02 23:05:09 | [Mutex] isItemNotified: received:node:3aaea2c7-176e-4762-8de0-d91ccdf3653d:localhost:node-4a509921-7746-4488-9973-62f279610c35:Node 4a509921-7746-4488-9973-62f279610c35 :: false

deleteSubnodes 1.119s
2020-10-02 23:05:07 |

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

2020-10-02 23:05:07 | ------------------------------------

2020-10-02 23:05:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d</node></data>

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

2020-10-02 23:05:08 | [Mutex] waiting for: [received:nodes:a11bec69-9925-4b43-9de8-1499273120ee:localhost]

2020-10-02 23:05:08 | [Mutex] waiting for: [received:nodes:a11bec69-9925-4b43-9de8-1499273120ee:localhost]

2020-10-02 23:05:08 | [Mutex] received everything.

2020-10-02 23:05:08 | [Mutex] isItemNotified: received:node:a11bec69-9925-4b43-9de8-1499273120ee:localhost:node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d:Node fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d :: false

2020-10-02 23:05:08 | [Mutex] waiting for: [received:nodes:babf34ec-4852-4db3-a856-9bac2b6f59fe:localhost]

2020-10-02 23:05:08 | [Mutex] received everything.

2020-10-02 23:05:08 | [Mutex] isItemNotified: received:node:babf34ec-4852-4db3-a856-9bac2b6f59fe:localhost:node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d:Node fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d :: false

publishItemsToNodes 0.214s
2020-10-02 23:05:05 |

2020-10-02 23:05:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:05:05 | ------------------------------------

2020-10-02 23:05:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d</node><item-id>item-85f2e7fa-9168-48fa-b820-ece41f43c83a</item-id><entry><test>item-85f2e7fa-9168-48fa-b820-ece41f43c83a</test></entry></data>

2020-10-02 23:05: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-85f2e7fa-9168-48fa-b820-ece41f43c83a</value></item-id></result>

2020-10-02 23:05:05 | [Mutex] received everything.

2020-10-02 23:05:05 | [Mutex] isItemNotified: published:item:notifieditem-85f2e7fa-9168-48fa-b820-ece41f43c83a:admin@test-domain.com :: true

retractItemsFromNodes 0.201s
2020-10-02 23:05:06 |

2020-10-02 23:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:05:06 | ------------------------------------

2020-10-02 23:05:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d</node><item-id>item-85f2e7fa-9168-48fa-b820-ece41f43c83a</item-id></data>

2020-10-02 23:05: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-85f2e7fa-9168-48fa-b820-ece41f43c83a</value></item-id></result>

2020-10-02 23:05:06 | [Mutex] received everything.

2020-10-02 23:05:06 | [Mutex] isItemNotified: retracted:item:notifieditem-85f2e7fa-9168-48fa-b820-ece41f43c83a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.298s
2020-10-02 23:05:05 |

2020-10-02 23:05:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:05:05 | ------------------------------------

2020-10-02 23:05:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d</node><item-id>item-85f2e7fa-9168-48fa-b820-ece41f43c83a</item-id></data>

2020-10-02 23:05:06 | 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-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d</value></node><item-id label="Item ID" type="text-single"><value>item-85f2e7fa-9168-48fa-b820-ece41f43c83a</value></item-id><item label="Item" type="text-multi"><value><item id="item-85f2e7fa-9168-48fa-b820-ece41f43c83a"><test>item-85f2e7fa-9168-48fa-b820-ece41f43c83a</test></item></value></item></result>

2020-10-02 23:05:06 | [Mutex] notify: [retrieved:item:item-85f2e7fa-9168-48fa-b820-ece41f43c83a:payload-matches:true:localhost]

2020-10-02 23:05:06 | [Mutex] received everything.

2020-10-02 23:05:06 | [Mutex] isItemNotified: retrieved:item:item-85f2e7fa-9168-48fa-b820-ece41f43c83a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-10-02 23:05:06 |

2020-10-02 23:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:05:06 | ------------------------------------

2020-10-02 23:05:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-02 23:05:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-4a509921-7746-4488-9973-62f279610c35</value><value>test</value><value>node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-02 23:05:06 |

2020-10-02 23:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:05:06 | ------------------------------------

2020-10-02 23:05:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d)</node-pattern></data>

2020-10-02 23:05:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.146s
2020-10-02 23:05:04 |

2020-10-02 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:05:04 | ------------------------------------

2020-10-02 23:05:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-02 23:05: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.303s
2020-10-02 23:05:06 |

2020-10-02 23:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:05:06 | ------------------------------------

2020-10-02 23:05:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fe668eb2-3c7b-4c2b-b44e-b1b445b06c0d</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-02 23:05:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>