Generated by TestNG with ReportNG at 09:50 PDT on Friday 18 September 2020
root@f53a97fae7d2 / 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.978s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2020-09-18 10:08:05 |

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

2020-09-18 10:08:05 | ------------------------------------

2020-09-18 10:08:05 | [Mutex] waiting for: [configured:node:node-f59df61c-07d7-4c8f-97a9-f087a9213fe5:node-cc8681eb-5976-41c6-b15c-c57f0c79ef7f]

2020-09-18 10:08:05 | [Mutex] received everything.

2020-09-18 10:08:05 | [Mutex] isItemNotified: configured:node:node-f59df61c-07d7-4c8f-97a9-f087a9213fe5:node-cc8681eb-5976-41c6-b15c-c57f0c79ef7f :: true

2020-09-18 10:08:06 | [Mutex] waiting for: [received:nodes:27821894-6dd4-4ef4-bce3-f505c9eecd79:localhost]

2020-09-18 10:08:06 | [Mutex] received everything.

2020-09-18 10:08:06 | [Mutex] isItemNotified: received:node:27821894-6dd4-4ef4-bce3-f505c9eecd79:localhost:node-f59df61c-07d7-4c8f-97a9-f087a9213fe5:Node f59df61c-07d7-4c8f-97a9-f087a9213fe5 :: true

2020-09-18 10:08:06 | [Mutex] waiting for: [received:nodes:879652eb-3ef9-4ba0-b8bb-d2ec6d15063b:localhost]

2020-09-18 10:08:06 | [Mutex] waiting for: [received:nodes:879652eb-3ef9-4ba0-b8bb-d2ec6d15063b:localhost]

2020-09-18 10:08:06 | [Mutex] received everything.

2020-09-18 10:08:06 | [Mutex] isItemNotified: received:node:879652eb-3ef9-4ba0-b8bb-d2ec6d15063b:localhost:node-f59df61c-07d7-4c8f-97a9-f087a9213fe5:Node f59df61c-07d7-4c8f-97a9-f087a9213fe5 :: false

createNodes 1.363s
2020-09-18 10:08:02 |

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

2020-09-18 10:08:02 | ------------------------------------

2020-09-18 10:08:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f59df61c-07d7-4c8f-97a9-f087a9213fe5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f59df61c-07d7-4c8f-97a9-f087a9213fe5</title></pubsub></data>

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

2020-09-18 10:08:04 | [Mutex] waiting for: [received:nodes:2beb02a3-c43d-4feb-a7f5-1110fe2514e2:localhost]

2020-09-18 10:08:04 | [Mutex] received everything.

2020-09-18 10:08:04 | [Mutex] isItemNotified: received:node:2beb02a3-c43d-4feb-a7f5-1110fe2514e2:localhost:node-f59df61c-07d7-4c8f-97a9-f087a9213fe5:Node f59df61c-07d7-4c8f-97a9-f087a9213fe5 :: true

createSubnodes 1.025s
2020-09-18 10:08:04 |

2020-09-18 10:08:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 10:08:04 | ------------------------------------

2020-09-18 10:08:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cc8681eb-5976-41c6-b15c-c57f0c79ef7f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cc8681eb-5976-41c6-b15c-c57f0c79ef7f</title></pubsub></data>

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

2020-09-18 10:08:05 | [Mutex] waiting for: [received:nodes:11529bd6-2fba-47db-a0d4-f2a71e1bd57d:localhost]

2020-09-18 10:08:05 | [Mutex] received everything.

2020-09-18 10:08:05 | [Mutex] isItemNotified: received:node:11529bd6-2fba-47db-a0d4-f2a71e1bd57d:localhost:node-cc8681eb-5976-41c6-b15c-c57f0c79ef7f:Node cc8681eb-5976-41c6-b15c-c57f0c79ef7f :: true

deleteNodes 1.019s
2020-09-18 10:08:10 |

2020-09-18 10:08:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 10:08:10 | ------------------------------------

2020-09-18 10:08:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cc8681eb-5976-41c6-b15c-c57f0c79ef7f</node></data>

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

2020-09-18 10:08:11 | [Mutex] waiting for: [received:nodes:3d588140-c9d1-4d24-aa97-47879b3eea5a:localhost]

2020-09-18 10:08:11 | [Mutex] received everything.

2020-09-18 10:08:11 | [Mutex] isItemNotified: received:node:3d588140-c9d1-4d24-aa97-47879b3eea5a:localhost:node-cc8681eb-5976-41c6-b15c-c57f0c79ef7f:Node cc8681eb-5976-41c6-b15c-c57f0c79ef7f :: false

deleteSubnodes 1.168s
2020-09-18 10:08:09 |

2020-09-18 10:08:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 10:08:09 | ------------------------------------

2020-09-18 10:08:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f59df61c-07d7-4c8f-97a9-f087a9213fe5</node></data>

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

2020-09-18 10:08:10 | [Mutex] waiting for: [received:nodes:19b5e068-4395-4726-93b1-251a528ff4c6:localhost]

2020-09-18 10:08:10 | [Mutex] received everything.

2020-09-18 10:08:10 | [Mutex] isItemNotified: received:node:19b5e068-4395-4726-93b1-251a528ff4c6:localhost:node-f59df61c-07d7-4c8f-97a9-f087a9213fe5:Node f59df61c-07d7-4c8f-97a9-f087a9213fe5 :: false

2020-09-18 10:08:10 | [Mutex] waiting for: [received:nodes:6db08e3a-03db-49f5-8cd3-c13e5dc1928b:localhost]

2020-09-18 10:08:10 | [Mutex] received everything.

2020-09-18 10:08:10 | [Mutex] isItemNotified: received:node:6db08e3a-03db-49f5-8cd3-c13e5dc1928b:localhost:node-f59df61c-07d7-4c8f-97a9-f087a9213fe5:Node f59df61c-07d7-4c8f-97a9-f087a9213fe5 :: false

publishItemsToNodes 0.195s
2020-09-18 10:08:07 |

2020-09-18 10:08:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 10:08:07 | ------------------------------------

2020-09-18 10:08:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f59df61c-07d7-4c8f-97a9-f087a9213fe5</node><item-id>item-251608d0-4d49-47da-bd5f-e315f7ce824a</item-id><entry><test>item-251608d0-4d49-47da-bd5f-e315f7ce824a</test></entry></data>

2020-09-18 10:08:07 | 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-251608d0-4d49-47da-bd5f-e315f7ce824a</value></item-id></result>

2020-09-18 10:08:07 | [Mutex] received everything.

2020-09-18 10:08:07 | [Mutex] isItemNotified: published:item:notifieditem-251608d0-4d49-47da-bd5f-e315f7ce824a:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2020-09-18 10:08:08 |

2020-09-18 10:08:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 10:08:08 | ------------------------------------

2020-09-18 10:08:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f59df61c-07d7-4c8f-97a9-f087a9213fe5</node><item-id>item-251608d0-4d49-47da-bd5f-e315f7ce824a</item-id></data>

2020-09-18 10:08:08 | 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-251608d0-4d49-47da-bd5f-e315f7ce824a</value></item-id></result>

2020-09-18 10:08:08 | [Mutex] received everything.

2020-09-18 10:08:08 | [Mutex] isItemNotified: retracted:item:notifieditem-251608d0-4d49-47da-bd5f-e315f7ce824a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.268s
2020-09-18 10:08:07 |

2020-09-18 10:08:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 10:08:07 | ------------------------------------

2020-09-18 10:08:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f59df61c-07d7-4c8f-97a9-f087a9213fe5</node><item-id>item-251608d0-4d49-47da-bd5f-e315f7ce824a</item-id></data>

2020-09-18 10:08:07 | 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-f59df61c-07d7-4c8f-97a9-f087a9213fe5</value></node><item-id type="text-single" label="Item ID"><value>item-251608d0-4d49-47da-bd5f-e315f7ce824a</value></item-id><item type="text-multi" label="Item"><value><item id="item-251608d0-4d49-47da-bd5f-e315f7ce824a"><test>item-251608d0-4d49-47da-bd5f-e315f7ce824a</test></item></value></item></result>

2020-09-18 10:08:07 | [Mutex] notify: [retrieved:item:item-251608d0-4d49-47da-bd5f-e315f7ce824a:payload-matches:true:localhost]

2020-09-18 10:08:07 | [Mutex] received everything.

2020-09-18 10:08:07 | [Mutex] isItemNotified: retrieved:item:item-251608d0-4d49-47da-bd5f-e315f7ce824a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-18 10:08:07 |

2020-09-18 10:08:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 10:08:07 | ------------------------------------

2020-09-18 10:08:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-18 10:08:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-cc8681eb-5976-41c6-b15c-c57f0c79ef7f</value><value>node-f59df61c-07d7-4c8f-97a9-f087a9213fe5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2020-09-18 10:08:08 |

2020-09-18 10:08:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 10:08:08 | ------------------------------------

2020-09-18 10:08:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f59df61c-07d7-4c8f-97a9-f087a9213fe5)</node-pattern></data>

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

subscribeNodes 1.095s
2020-09-18 10:08:06 |

2020-09-18 10:08:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 10:08:06 | ------------------------------------

2020-09-18 10:08:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f59df61c-07d7-4c8f-97a9-f087a9213fe5</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.293s
2020-09-18 10:08:08 |

2020-09-18 10:08:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 10:08:08 | ------------------------------------

2020-09-18 10:08:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f59df61c-07d7-4c8f-97a9-f087a9213fe5</node><jids><value>admin@test-domain.com</value></jids></data>

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