Generated by TestNG with ReportNG at 22:25 PDT on Sunday 20 September 2020
root@9c220585afd0 / 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.942s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2020-09-20 22:39:06 |

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

2020-09-20 22:39:06 | ------------------------------------

2020-09-20 22:39:06 | [Mutex] waiting for: [configured:node:node-4b407ef5-32f6-451e-871f-fe481d1e7431:node-72328fa1-88cd-4244-906e-bf47e5eb154b]

2020-09-20 22:39:06 | [Mutex] received everything.

2020-09-20 22:39:06 | [Mutex] isItemNotified: configured:node:node-4b407ef5-32f6-451e-871f-fe481d1e7431:node-72328fa1-88cd-4244-906e-bf47e5eb154b :: true

2020-09-20 22:39:07 | [Mutex] waiting for: [received:nodes:3ee0341a-47ae-445b-b085-dcfd37c56651:localhost]

2020-09-20 22:39:07 | [Mutex] received everything.

2020-09-20 22:39:07 | [Mutex] isItemNotified: received:node:3ee0341a-47ae-445b-b085-dcfd37c56651:localhost:node-4b407ef5-32f6-451e-871f-fe481d1e7431:Node 4b407ef5-32f6-451e-871f-fe481d1e7431 :: true

2020-09-20 22:39:07 | [Mutex] waiting for: [received:nodes:4d427b87-07c6-4c52-b065-e0c66732bf47:localhost]

2020-09-20 22:39:07 | [Mutex] received everything.

2020-09-20 22:39:07 | [Mutex] isItemNotified: received:node:4d427b87-07c6-4c52-b065-e0c66732bf47:localhost:node-4b407ef5-32f6-451e-871f-fe481d1e7431:Node 4b407ef5-32f6-451e-871f-fe481d1e7431 :: false

createNodes 1.407s
2020-09-20 22:39:04 |

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

2020-09-20 22:39:04 | ------------------------------------

2020-09-20 22:39:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4b407ef5-32f6-451e-871f-fe481d1e7431</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4b407ef5-32f6-451e-871f-fe481d1e7431</title></pubsub></data>

2020-09-20 22:39: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-20 22:39:05 | [Mutex] waiting for: [received:nodes:b4ef077f-109c-4812-9c74-96021bc7f174:localhost]

2020-09-20 22:39:05 | [Mutex] received everything.

2020-09-20 22:39:05 | [Mutex] isItemNotified: received:node:b4ef077f-109c-4812-9c74-96021bc7f174:localhost:node-4b407ef5-32f6-451e-871f-fe481d1e7431:Node 4b407ef5-32f6-451e-871f-fe481d1e7431 :: true

createSubnodes 1.027s
2020-09-20 22:39:05 |

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

2020-09-20 22:39:05 | ------------------------------------

2020-09-20 22:39:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-72328fa1-88cd-4244-906e-bf47e5eb154b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 72328fa1-88cd-4244-906e-bf47e5eb154b</title></pubsub></data>

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

2020-09-20 22:39:06 | [Mutex] waiting for: [received:nodes:73b59178-23a8-410e-8b72-e5c43c3bbcf2:localhost]

2020-09-20 22:39:06 | [Mutex] received everything.

2020-09-20 22:39:06 | [Mutex] isItemNotified: received:node:73b59178-23a8-410e-8b72-e5c43c3bbcf2:localhost:node-72328fa1-88cd-4244-906e-bf47e5eb154b:Node 72328fa1-88cd-4244-906e-bf47e5eb154b :: true

deleteNodes 1.020s
2020-09-20 22:39:12 |

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

2020-09-20 22:39:12 | ------------------------------------

2020-09-20 22:39:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-72328fa1-88cd-4244-906e-bf47e5eb154b</node></data>

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

2020-09-20 22:39:13 | [Mutex] waiting for: [received:nodes:20a584fd-2642-40b9-8268-01c80c5ff6f7:localhost]

2020-09-20 22:39:13 | [Mutex] received everything.

2020-09-20 22:39:13 | [Mutex] isItemNotified: received:node:20a584fd-2642-40b9-8268-01c80c5ff6f7:localhost:node-72328fa1-88cd-4244-906e-bf47e5eb154b:Node 72328fa1-88cd-4244-906e-bf47e5eb154b :: false

deleteSubnodes 1.186s
2020-09-20 22:39:10 |

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

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

2020-09-20 22:39:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4b407ef5-32f6-451e-871f-fe481d1e7431</node></data>

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

2020-09-20 22:39:12 | [Mutex] waiting for: [received:nodes:7d4d4c90-dd55-4223-af17-5fd0933d4b80:localhost]

2020-09-20 22:39:12 | [Mutex] waiting for: [received:nodes:7d4d4c90-dd55-4223-af17-5fd0933d4b80:localhost]

2020-09-20 22:39:12 | [Mutex] waiting for: [received:nodes:7d4d4c90-dd55-4223-af17-5fd0933d4b80:localhost]

2020-09-20 22:39:12 | [Mutex] waiting for: [received:nodes:7d4d4c90-dd55-4223-af17-5fd0933d4b80:localhost]

2020-09-20 22:39:12 | [Mutex] received everything.

2020-09-20 22:39:12 | [Mutex] isItemNotified: received:node:7d4d4c90-dd55-4223-af17-5fd0933d4b80:localhost:node-4b407ef5-32f6-451e-871f-fe481d1e7431:Node 4b407ef5-32f6-451e-871f-fe481d1e7431 :: false

2020-09-20 22:39:12 | [Mutex] waiting for: [received:nodes:138bfb91-4098-4b25-98d5-b36de5360eee:localhost]

2020-09-20 22:39:12 | [Mutex] received everything.

2020-09-20 22:39:12 | [Mutex] isItemNotified: received:node:138bfb91-4098-4b25-98d5-b36de5360eee:localhost:node-4b407ef5-32f6-451e-871f-fe481d1e7431:Node 4b407ef5-32f6-451e-871f-fe481d1e7431 :: false

publishItemsToNodes 0.238s
2020-09-20 22:39:08 |

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

2020-09-20 22:39:08 | ------------------------------------

2020-09-20 22:39:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4b407ef5-32f6-451e-871f-fe481d1e7431</node><item-id>item-312b2466-88f7-43d6-a656-ef4fbe235bfe</item-id><entry><test>item-312b2466-88f7-43d6-a656-ef4fbe235bfe</test></entry></data>

2020-09-20 22:39:09 | 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-312b2466-88f7-43d6-a656-ef4fbe235bfe</value></item-id></result>

2020-09-20 22:39:09 | [Mutex] received everything.

2020-09-20 22:39:09 | [Mutex] isItemNotified: published:item:notifieditem-312b2466-88f7-43d6-a656-ef4fbe235bfe:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2020-09-20 22:39:09 |

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

2020-09-20 22:39:09 | ------------------------------------

2020-09-20 22:39:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4b407ef5-32f6-451e-871f-fe481d1e7431</node><item-id>item-312b2466-88f7-43d6-a656-ef4fbe235bfe</item-id></data>

2020-09-20 22:39:09 | 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-312b2466-88f7-43d6-a656-ef4fbe235bfe</value></item-id></result>

2020-09-20 22:39:09 | [Mutex] received everything.

2020-09-20 22:39:09 | [Mutex] isItemNotified: retracted:item:notifieditem-312b2466-88f7-43d6-a656-ef4fbe235bfe:admin@test-domain.com :: true

retrieveItemsFromNodes 0.276s
2020-09-20 22:39:09 |

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

2020-09-20 22:39:09 | ------------------------------------

2020-09-20 22:39:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4b407ef5-32f6-451e-871f-fe481d1e7431</node><item-id>item-312b2466-88f7-43d6-a656-ef4fbe235bfe</item-id></data>

2020-09-20 22:39:09 | 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-4b407ef5-32f6-451e-871f-fe481d1e7431</value></node><item-id label="Item ID" type="text-single"><value>item-312b2466-88f7-43d6-a656-ef4fbe235bfe</value></item-id><item label="Item" type="text-multi"><value><item id="item-312b2466-88f7-43d6-a656-ef4fbe235bfe"><test>item-312b2466-88f7-43d6-a656-ef4fbe235bfe</test></item></value></item></result>

2020-09-20 22:39:09 | [Mutex] notify: [retrieved:item:item-312b2466-88f7-43d6-a656-ef4fbe235bfe:payload-matches:true:localhost]

2020-09-20 22:39:09 | [Mutex] received everything.

2020-09-20 22:39:09 | [Mutex] isItemNotified: retrieved:item:item-312b2466-88f7-43d6-a656-ef4fbe235bfe:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-20 22:39:09 |

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

2020-09-20 22:39:09 | ------------------------------------

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

2020-09-20 22:39:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-72328fa1-88cd-4244-906e-bf47e5eb154b</value><value>test</value><value>node-4b407ef5-32f6-451e-871f-fe481d1e7431</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-20 22:39:09 |

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

2020-09-20 22:39:09 | ------------------------------------

2020-09-20 22:39:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4b407ef5-32f6-451e-871f-fe481d1e7431)</node-pattern></data>

2020-09-20 22:39:09 | 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-09-20 22:39:07 |

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

2020-09-20 22:39:07 | ------------------------------------

2020-09-20 22:39:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4b407ef5-32f6-451e-871f-fe481d1e7431</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.231s
2020-09-20 22:39:09 |

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

2020-09-20 22:39:09 | ------------------------------------

2020-09-20 22:39:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4b407ef5-32f6-451e-871f-fe481d1e7431</node><jids><value>admin@test-domain.com</value></jids></data>

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