Generated by TestNG with ReportNG at 22:25 PDT on Sunday 11 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 : 9.947s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2020-10-11 22:39:16 |

2020-10-11 22:39:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:39:16 | ------------------------------------

2020-10-11 22:39:16 | [Mutex] waiting for: [configured:node:node-d3833dfd-4664-4c98-b59f-d49f99af8817:node-ca01c7a1-b4c4-41f5-bf7f-8023d9fb5465]

2020-10-11 22:39:16 | [Mutex] received everything.

2020-10-11 22:39:16 | [Mutex] isItemNotified: configured:node:node-d3833dfd-4664-4c98-b59f-d49f99af8817:node-ca01c7a1-b4c4-41f5-bf7f-8023d9fb5465 :: true

2020-10-11 22:39:17 | [Mutex] waiting for: [received:nodes:c67e2986-6b96-4ac5-a91a-f89d2860bfa5:localhost]

2020-10-11 22:39:17 | [Mutex] received everything.

2020-10-11 22:39:17 | [Mutex] isItemNotified: received:node:c67e2986-6b96-4ac5-a91a-f89d2860bfa5:localhost:node-d3833dfd-4664-4c98-b59f-d49f99af8817:Node d3833dfd-4664-4c98-b59f-d49f99af8817 :: true

2020-10-11 22:39:17 | [Mutex] waiting for: [received:nodes:2c734806-8197-43bc-a156-03f544758110:localhost]

2020-10-11 22:39:17 | [Mutex] received everything.

2020-10-11 22:39:17 | [Mutex] isItemNotified: received:node:2c734806-8197-43bc-a156-03f544758110:localhost:node-d3833dfd-4664-4c98-b59f-d49f99af8817:Node d3833dfd-4664-4c98-b59f-d49f99af8817 :: false

createNodes 1.447s
2020-10-11 22:39:13 |

2020-10-11 22:39:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:39:13 | ------------------------------------

2020-10-11 22:39:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d3833dfd-4664-4c98-b59f-d49f99af8817</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d3833dfd-4664-4c98-b59f-d49f99af8817</title></pubsub></data>

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

2020-10-11 22:39:15 | [Mutex] waiting for: [received:nodes:4e91264c-70ca-49e5-b6a6-fd22a78056ca:localhost]

2020-10-11 22:39:15 | [Mutex] received everything.

2020-10-11 22:39:15 | [Mutex] isItemNotified: received:node:4e91264c-70ca-49e5-b6a6-fd22a78056ca:localhost:node-d3833dfd-4664-4c98-b59f-d49f99af8817:Node d3833dfd-4664-4c98-b59f-d49f99af8817 :: true

createSubnodes 1.030s
2020-10-11 22:39:15 |

2020-10-11 22:39:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:39:15 | ------------------------------------

2020-10-11 22:39:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ca01c7a1-b4c4-41f5-bf7f-8023d9fb5465</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ca01c7a1-b4c4-41f5-bf7f-8023d9fb5465</title></pubsub></data>

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

2020-10-11 22:39:16 | [Mutex] waiting for: [received:nodes:287159c4-5668-4968-8a89-04d31bbaeb79:localhost]

2020-10-11 22:39:16 | [Mutex] received everything.

2020-10-11 22:39:16 | [Mutex] isItemNotified: received:node:287159c4-5668-4968-8a89-04d31bbaeb79:localhost:node-ca01c7a1-b4c4-41f5-bf7f-8023d9fb5465:Node ca01c7a1-b4c4-41f5-bf7f-8023d9fb5465 :: true

deleteNodes 1.019s
2020-10-11 22:39:21 |

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

2020-10-11 22:39:21 | ------------------------------------

2020-10-11 22:39:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ca01c7a1-b4c4-41f5-bf7f-8023d9fb5465</node></data>

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

2020-10-11 22:39:22 | [Mutex] waiting for: [received:nodes:9ac11784-7bbb-42c8-9a2c-df58e4a7834f:localhost]

2020-10-11 22:39:22 | [Mutex] received everything.

2020-10-11 22:39:22 | [Mutex] isItemNotified: received:node:9ac11784-7bbb-42c8-9a2c-df58e4a7834f:localhost:node-ca01c7a1-b4c4-41f5-bf7f-8023d9fb5465:Node ca01c7a1-b4c4-41f5-bf7f-8023d9fb5465 :: false

deleteSubnodes 1.130s
2020-10-11 22:39:20 |

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

2020-10-11 22:39:20 | ------------------------------------

2020-10-11 22:39:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d3833dfd-4664-4c98-b59f-d49f99af8817</node></data>

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

2020-10-11 22:39:21 | [Mutex] waiting for: [received:nodes:9e7f7d29-5a08-4d78-ad45-6a2bd634c5c4:localhost]

2020-10-11 22:39:21 | [Mutex] received everything.

2020-10-11 22:39:21 | [Mutex] isItemNotified: received:node:9e7f7d29-5a08-4d78-ad45-6a2bd634c5c4:localhost:node-d3833dfd-4664-4c98-b59f-d49f99af8817:Node d3833dfd-4664-4c98-b59f-d49f99af8817 :: false

2020-10-11 22:39:21 | [Mutex] waiting for: [received:nodes:ab3cff5f-4bac-46d1-98a8-dd8fa8fc0d87:localhost]

2020-10-11 22:39:21 | [Mutex] received everything.

2020-10-11 22:39:21 | [Mutex] isItemNotified: received:node:ab3cff5f-4bac-46d1-98a8-dd8fa8fc0d87:localhost:node-d3833dfd-4664-4c98-b59f-d49f99af8817:Node d3833dfd-4664-4c98-b59f-d49f99af8817 :: false

publishItemsToNodes 0.241s
2020-10-11 22:39:18 |

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

2020-10-11 22:39:18 | ------------------------------------

2020-10-11 22:39:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d3833dfd-4664-4c98-b59f-d49f99af8817</node><item-id>item-0c095bea-fb5f-432e-9ab1-3c3e77e02edc</item-id><entry><test>item-0c095bea-fb5f-432e-9ab1-3c3e77e02edc</test></entry></data>

2020-10-11 22:39:18 | 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-0c095bea-fb5f-432e-9ab1-3c3e77e02edc</value></item-id></result>

2020-10-11 22:39:18 | [Mutex] received everything.

2020-10-11 22:39:18 | [Mutex] isItemNotified: published:item:notifieditem-0c095bea-fb5f-432e-9ab1-3c3e77e02edc:admin@test-domain.com :: true

retractItemsFromNodes 0.323s
2020-10-11 22:39:18 |

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

2020-10-11 22:39:18 | ------------------------------------

2020-10-11 22:39:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d3833dfd-4664-4c98-b59f-d49f99af8817</node><item-id>item-0c095bea-fb5f-432e-9ab1-3c3e77e02edc</item-id></data>

2020-10-11 22:39:19 | 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-0c095bea-fb5f-432e-9ab1-3c3e77e02edc</value></item-id></result>

2020-10-11 22:39:19 | [Mutex] received everything.

2020-10-11 22:39:19 | [Mutex] isItemNotified: retracted:item:notifieditem-0c095bea-fb5f-432e-9ab1-3c3e77e02edc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2020-10-11 22:39:18 |

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

2020-10-11 22:39:18 | ------------------------------------

2020-10-11 22:39:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d3833dfd-4664-4c98-b59f-d49f99af8817</node><item-id>item-0c095bea-fb5f-432e-9ab1-3c3e77e02edc</item-id></data>

2020-10-11 22:39:18 | 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-d3833dfd-4664-4c98-b59f-d49f99af8817</value></node><item-id label="Item ID" type="text-single"><value>item-0c095bea-fb5f-432e-9ab1-3c3e77e02edc</value></item-id><item label="Item" type="text-multi"><value><item id="item-0c095bea-fb5f-432e-9ab1-3c3e77e02edc"><test>item-0c095bea-fb5f-432e-9ab1-3c3e77e02edc</test></item></value></item></result>

2020-10-11 22:39:18 | [Mutex] notify: [retrieved:item:item-0c095bea-fb5f-432e-9ab1-3c3e77e02edc:payload-matches:true:localhost]

2020-10-11 22:39:18 | [Mutex] received everything.

2020-10-11 22:39:18 | [Mutex] isItemNotified: retrieved:item:item-0c095bea-fb5f-432e-9ab1-3c3e77e02edc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-11 22:39:18 |

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

2020-10-11 22:39:18 | ------------------------------------

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

2020-10-11 22:39:18 | 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-d3833dfd-4664-4c98-b59f-d49f99af8817</value><value>node-ca01c7a1-b4c4-41f5-bf7f-8023d9fb5465</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-10-11 22:39:18 |

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

2020-10-11 22:39:18 | ------------------------------------

2020-10-11 22:39:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d3833dfd-4664-4c98-b59f-d49f99af8817)</node-pattern></data>

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

subscribeNodes 1.125s
2020-10-11 22:39:17 |

2020-10-11 22:39:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:39:17 | ------------------------------------

2020-10-11 22:39:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d3833dfd-4664-4c98-b59f-d49f99af8817</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.227s
2020-10-11 22:39:19 |

2020-10-11 22:39:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:39:19 | ------------------------------------

2020-10-11 22:39:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d3833dfd-4664-4c98-b59f-d49f99af8817</node><jids><value>admin@test-domain.com</value></jids></data>

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