Generated by TestNG with ReportNG at 22:15 PDT on Thursday 01 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.029s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2020-10-01 22:32:21 |

2020-10-01 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:21 | ------------------------------------

2020-10-01 22:32:21 | [Mutex] waiting for: [configured:node:node-c9e2681f-944a-4d8b-ab58-c96741670b08:node-a5eb3d15-0a1f-4f9a-986a-b1cc0c512506]

2020-10-01 22:32:21 | [Mutex] received everything.

2020-10-01 22:32:21 | [Mutex] isItemNotified: configured:node:node-c9e2681f-944a-4d8b-ab58-c96741670b08:node-a5eb3d15-0a1f-4f9a-986a-b1cc0c512506 :: true

2020-10-01 22:32:22 | [Mutex] waiting for: [received:nodes:486319cc-eb6d-4cce-8834-92c9a1b0cc8c:localhost]

2020-10-01 22:32:22 | [Mutex] received everything.

2020-10-01 22:32:22 | [Mutex] isItemNotified: received:node:486319cc-eb6d-4cce-8834-92c9a1b0cc8c:localhost:node-c9e2681f-944a-4d8b-ab58-c96741670b08:Node c9e2681f-944a-4d8b-ab58-c96741670b08 :: true

2020-10-01 22:32:22 | [Mutex] waiting for: [received:nodes:b12043d6-dd83-4b91-9105-392e4cd580bf:localhost]

2020-10-01 22:32:22 | [Mutex] received everything.

2020-10-01 22:32:22 | [Mutex] isItemNotified: received:node:b12043d6-dd83-4b91-9105-392e4cd580bf:localhost:node-c9e2681f-944a-4d8b-ab58-c96741670b08:Node c9e2681f-944a-4d8b-ab58-c96741670b08 :: false

createNodes 1.397s
2020-10-01 22:32:18 |

2020-10-01 22:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:18 | ------------------------------------

2020-10-01 22:32:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c9e2681f-944a-4d8b-ab58-c96741670b08</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c9e2681f-944a-4d8b-ab58-c96741670b08</title></pubsub></data>

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

2020-10-01 22:32:20 | [Mutex] waiting for: [received:nodes:8a31f731-8cc1-4945-8da9-d7de45129431:localhost]

2020-10-01 22:32:20 | [Mutex] received everything.

2020-10-01 22:32:20 | [Mutex] isItemNotified: received:node:8a31f731-8cc1-4945-8da9-d7de45129431:localhost:node-c9e2681f-944a-4d8b-ab58-c96741670b08:Node c9e2681f-944a-4d8b-ab58-c96741670b08 :: true

createSubnodes 1.028s
2020-10-01 22:32:20 |

2020-10-01 22:32:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:20 | ------------------------------------

2020-10-01 22:32:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a5eb3d15-0a1f-4f9a-986a-b1cc0c512506</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a5eb3d15-0a1f-4f9a-986a-b1cc0c512506</title></pubsub></data>

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

2020-10-01 22:32:21 | [Mutex] waiting for: [received:nodes:782996a5-5007-475e-9017-93aacc645288:localhost]

2020-10-01 22:32:21 | [Mutex] received everything.

2020-10-01 22:32:21 | [Mutex] isItemNotified: received:node:782996a5-5007-475e-9017-93aacc645288:localhost:node-a5eb3d15-0a1f-4f9a-986a-b1cc0c512506:Node a5eb3d15-0a1f-4f9a-986a-b1cc0c512506 :: true

deleteNodes 1.018s
2020-10-01 22:32:26 |

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

2020-10-01 22:32:26 | ------------------------------------

2020-10-01 22:32:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a5eb3d15-0a1f-4f9a-986a-b1cc0c512506</node></data>

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

2020-10-01 22:32:27 | [Mutex] waiting for: [received:nodes:568950f2-283e-43f3-b44d-f10ea3d98363:localhost]

2020-10-01 22:32:27 | [Mutex] received everything.

2020-10-01 22:32:27 | [Mutex] isItemNotified: received:node:568950f2-283e-43f3-b44d-f10ea3d98363:localhost:node-a5eb3d15-0a1f-4f9a-986a-b1cc0c512506:Node a5eb3d15-0a1f-4f9a-986a-b1cc0c512506 :: false

deleteSubnodes 1.170s
2020-10-01 22:32:25 |

2020-10-01 22:32:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:25 | ------------------------------------

2020-10-01 22:32:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c9e2681f-944a-4d8b-ab58-c96741670b08</node></data>

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

2020-10-01 22:32:26 | [Mutex] waiting for: [received:nodes:933f21fe-f4d1-4b22-a1f4-af6bbdf2f0d5:localhost]

2020-10-01 22:32:26 | [Mutex] received everything.

2020-10-01 22:32:26 | [Mutex] isItemNotified: received:node:933f21fe-f4d1-4b22-a1f4-af6bbdf2f0d5:localhost:node-c9e2681f-944a-4d8b-ab58-c96741670b08:Node c9e2681f-944a-4d8b-ab58-c96741670b08 :: false

2020-10-01 22:32:26 | [Mutex] waiting for: [received:nodes:fd8c5e0c-ca98-413d-a9c6-341f50979d39:localhost]

2020-10-01 22:32:26 | [Mutex] received everything.

2020-10-01 22:32:26 | [Mutex] isItemNotified: received:node:fd8c5e0c-ca98-413d-a9c6-341f50979d39:localhost:node-c9e2681f-944a-4d8b-ab58-c96741670b08:Node c9e2681f-944a-4d8b-ab58-c96741670b08 :: false

publishItemsToNodes 0.268s
2020-10-01 22:32:23 |

2020-10-01 22:32:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:23 | ------------------------------------

2020-10-01 22:32:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c9e2681f-944a-4d8b-ab58-c96741670b08</node><item-id>item-8bcc1f03-7ea3-4102-a6e6-649204e3c735</item-id><entry><test>item-8bcc1f03-7ea3-4102-a6e6-649204e3c735</test></entry></data>

2020-10-01 22:32:23 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-8bcc1f03-7ea3-4102-a6e6-649204e3c735</value></item-id></result>

2020-10-01 22:32:23 | [Mutex] waiting for: [published:item:notifieditem-8bcc1f03-7ea3-4102-a6e6-649204e3c735:admin@test-domain.com]

2020-10-01 22:32:23 | [Mutex] received everything.

2020-10-01 22:32:23 | [Mutex] isItemNotified: published:item:notifieditem-8bcc1f03-7ea3-4102-a6e6-649204e3c735:admin@test-domain.com :: true

retractItemsFromNodes 0.288s
2020-10-01 22:32:24 |

2020-10-01 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:24 | ------------------------------------

2020-10-01 22:32:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c9e2681f-944a-4d8b-ab58-c96741670b08</node><item-id>item-8bcc1f03-7ea3-4102-a6e6-649204e3c735</item-id></data>

2020-10-01 22:32:24 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-8bcc1f03-7ea3-4102-a6e6-649204e3c735</value></item-id></result>

2020-10-01 22:32:24 | [Mutex] received everything.

2020-10-01 22:32:24 | [Mutex] isItemNotified: retracted:item:notifieditem-8bcc1f03-7ea3-4102-a6e6-649204e3c735:admin@test-domain.com :: true

retrieveItemsFromNodes 0.266s
2020-10-01 22:32:23 |

2020-10-01 22:32:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:23 | ------------------------------------

2020-10-01 22:32:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c9e2681f-944a-4d8b-ab58-c96741670b08</node><item-id>item-8bcc1f03-7ea3-4102-a6e6-649204e3c735</item-id></data>

2020-10-01 22:32:23 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-c9e2681f-944a-4d8b-ab58-c96741670b08</value></node><item-id type="text-single" label="Item ID"><value>item-8bcc1f03-7ea3-4102-a6e6-649204e3c735</value></item-id><item type="text-multi" label="Item"><value><item id="item-8bcc1f03-7ea3-4102-a6e6-649204e3c735"><test>item-8bcc1f03-7ea3-4102-a6e6-649204e3c735</test></item></value></item></result>

2020-10-01 22:32:23 | [Mutex] notify: [retrieved:item:item-8bcc1f03-7ea3-4102-a6e6-649204e3c735:payload-matches:true:localhost]

2020-10-01 22:32:23 | [Mutex] received everything.

2020-10-01 22:32:23 | [Mutex] isItemNotified: retrieved:item:item-8bcc1f03-7ea3-4102-a6e6-649204e3c735:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-10-01 22:32:23 |

2020-10-01 22:32:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:23 | ------------------------------------

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

2020-10-01 22:32:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-a5eb3d15-0a1f-4f9a-986a-b1cc0c512506</value><value>node-c9e2681f-944a-4d8b-ab58-c96741670b08</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-10-01 22:32:24 |

2020-10-01 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:24 | ------------------------------------

2020-10-01 22:32:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c9e2681f-944a-4d8b-ab58-c96741670b08)</node-pattern></data>

2020-10-01 22:32:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.098s
2020-10-01 22:32:22 |

2020-10-01 22:32:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:22 | ------------------------------------

2020-10-01 22:32:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c9e2681f-944a-4d8b-ab58-c96741670b08</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.259s
2020-10-01 22:32:24 |

2020-10-01 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-01 22:32:24 | ------------------------------------

2020-10-01 22:32:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c9e2681f-944a-4d8b-ab58-c96741670b08</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-01 22:32:24 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>