Generated by TestNG with ReportNG at 22:47 PDT on Tuesday 01 September 2020
root@556a2edbe156 / 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.808s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.132s
2020-09-01 23:02:55 |

2020-09-01 23:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:02:55 | ------------------------------------

2020-09-01 23:02:55 | [Mutex] waiting for: [configured:node:node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7:node-3c33f043-d682-42e1-9bd3-88442e1472e4]

2020-09-01 23:02:55 | [Mutex] received everything.

2020-09-01 23:02:55 | [Mutex] isItemNotified: configured:node:node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7:node-3c33f043-d682-42e1-9bd3-88442e1472e4 :: true

2020-09-01 23:02:56 | [Mutex] waiting for: [received:nodes:79fd5b3d-03a5-4455-b473-9aa4566be96b:localhost]

2020-09-01 23:02:56 | [Mutex] waiting for: [received:nodes:79fd5b3d-03a5-4455-b473-9aa4566be96b:localhost]

2020-09-01 23:02:56 | [Mutex] received everything.

2020-09-01 23:02:56 | [Mutex] isItemNotified: received:node:79fd5b3d-03a5-4455-b473-9aa4566be96b:localhost:node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7:Node 4cf12ac6-d4d3-4abe-af31-4f5213afcfd7 :: true

2020-09-01 23:02:56 | [Mutex] waiting for: [received:nodes:fd7faf78-0169-4cf3-aa32-b4e31cbf5fa0:localhost]

2020-09-01 23:02:56 | [Mutex] waiting for: [received:nodes:fd7faf78-0169-4cf3-aa32-b4e31cbf5fa0:localhost]

2020-09-01 23:02:56 | [Mutex] received everything.

2020-09-01 23:02:56 | [Mutex] isItemNotified: received:node:fd7faf78-0169-4cf3-aa32-b4e31cbf5fa0:localhost:node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7:Node 4cf12ac6-d4d3-4abe-af31-4f5213afcfd7 :: false

createNodes 1.542s
2020-09-01 23:02:53 |

2020-09-01 23:02:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:02:53 | ------------------------------------

2020-09-01 23:02:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4cf12ac6-d4d3-4abe-af31-4f5213afcfd7</title></pubsub></data>

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

2020-09-01 23:02:54 | [Mutex] waiting for: [received:nodes:806f72e3-a6f3-4c0d-88eb-a4d0df4183f9:localhost]

2020-09-01 23:02:54 | [Mutex] received everything.

2020-09-01 23:02:54 | [Mutex] isItemNotified: received:node:806f72e3-a6f3-4c0d-88eb-a4d0df4183f9:localhost:node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7:Node 4cf12ac6-d4d3-4abe-af31-4f5213afcfd7 :: true

createSubnodes 1.025s
2020-09-01 23:02:54 |

2020-09-01 23:02:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:02:54 | ------------------------------------

2020-09-01 23:02:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3c33f043-d682-42e1-9bd3-88442e1472e4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3c33f043-d682-42e1-9bd3-88442e1472e4</title></pubsub></data>

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

2020-09-01 23:02:55 | [Mutex] waiting for: [received:nodes:fb5ed068-018c-4c44-a41f-5c931bd743d3:localhost]

2020-09-01 23:02:55 | [Mutex] waiting for: [received:nodes:fb5ed068-018c-4c44-a41f-5c931bd743d3:localhost]

2020-09-01 23:02:55 | [Mutex] received everything.

2020-09-01 23:02:55 | [Mutex] isItemNotified: received:node:fb5ed068-018c-4c44-a41f-5c931bd743d3:localhost:node-3c33f043-d682-42e1-9bd3-88442e1472e4:Node 3c33f043-d682-42e1-9bd3-88442e1472e4 :: true

deleteNodes 1.018s
2020-09-01 23:03:01 |

2020-09-01 23:03:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:03:01 | ------------------------------------

2020-09-01 23:03:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3c33f043-d682-42e1-9bd3-88442e1472e4</node></data>

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

2020-09-01 23:03:02 | [Mutex] waiting for: [received:nodes:8fb1f437-c000-4731-ab0d-830052957d17:localhost]

2020-09-01 23:03:02 | [Mutex] received everything.

2020-09-01 23:03:02 | [Mutex] isItemNotified: received:node:8fb1f437-c000-4731-ab0d-830052957d17:localhost:node-3c33f043-d682-42e1-9bd3-88442e1472e4:Node 3c33f043-d682-42e1-9bd3-88442e1472e4 :: false

deleteSubnodes 1.111s
2020-09-01 23:03:00 |

2020-09-01 23:03:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:03:00 | ------------------------------------

2020-09-01 23:03:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7</node></data>

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

2020-09-01 23:03:01 | [Mutex] waiting for: [received:nodes:12d3cf95-d650-41dc-81b6-be50e2320894:localhost]

2020-09-01 23:03:01 | [Mutex] received everything.

2020-09-01 23:03:01 | [Mutex] isItemNotified: received:node:12d3cf95-d650-41dc-81b6-be50e2320894:localhost:node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7:Node 4cf12ac6-d4d3-4abe-af31-4f5213afcfd7 :: false

2020-09-01 23:03:01 | [Mutex] waiting for: [received:nodes:276e1d7f-d365-49ca-be40-36153ad14390:localhost]

2020-09-01 23:03:01 | [Mutex] received everything.

2020-09-01 23:03:01 | [Mutex] isItemNotified: received:node:276e1d7f-d365-49ca-be40-36153ad14390:localhost:node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7:Node 4cf12ac6-d4d3-4abe-af31-4f5213afcfd7 :: false

publishItemsToNodes 0.184s
2020-09-01 23:02:58 |

2020-09-01 23:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:02:58 | ------------------------------------

2020-09-01 23:02:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7</node><item-id>item-7837c26f-5716-43ea-965c-6aa68eaa1c6a</item-id><entry><test>item-7837c26f-5716-43ea-965c-6aa68eaa1c6a</test></entry></data>

2020-09-01 23:02:58 | 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-7837c26f-5716-43ea-965c-6aa68eaa1c6a</value></item-id></result>

2020-09-01 23:02:58 | [Mutex] waiting for: [published:item:notifieditem-7837c26f-5716-43ea-965c-6aa68eaa1c6a:admin@test-domain.com]

2020-09-01 23:02:58 | [Mutex] received everything.

2020-09-01 23:02:58 | [Mutex] isItemNotified: published:item:notifieditem-7837c26f-5716-43ea-965c-6aa68eaa1c6a:admin@test-domain.com :: true

retractItemsFromNodes 0.143s
2020-09-01 23:02:58 |

2020-09-01 23:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:02:58 | ------------------------------------

2020-09-01 23:02:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7</node><item-id>item-7837c26f-5716-43ea-965c-6aa68eaa1c6a</item-id></data>

2020-09-01 23:02:58 | 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-7837c26f-5716-43ea-965c-6aa68eaa1c6a</value></item-id></result>

2020-09-01 23:02:58 | [Mutex] received everything.

2020-09-01 23:02:58 | [Mutex] isItemNotified: retracted:item:notifieditem-7837c26f-5716-43ea-965c-6aa68eaa1c6a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.233s
2020-09-01 23:02:58 |

2020-09-01 23:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:02:58 | ------------------------------------

2020-09-01 23:02:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7</node><item-id>item-7837c26f-5716-43ea-965c-6aa68eaa1c6a</item-id></data>

2020-09-01 23:02:58 | 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-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7</value></node><item-id label="Item ID" type="text-single"><value>item-7837c26f-5716-43ea-965c-6aa68eaa1c6a</value></item-id><item label="Item" type="text-multi"><value><item id="item-7837c26f-5716-43ea-965c-6aa68eaa1c6a"><test>item-7837c26f-5716-43ea-965c-6aa68eaa1c6a</test></item></value></item></result>

2020-09-01 23:02:58 | [Mutex] notify: [retrieved:item:item-7837c26f-5716-43ea-965c-6aa68eaa1c6a:payload-matches:true:localhost]

2020-09-01 23:02:58 | [Mutex] received everything.

2020-09-01 23:02:58 | [Mutex] isItemNotified: retrieved:item:item-7837c26f-5716-43ea-965c-6aa68eaa1c6a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-01 23:02:58 |

2020-09-01 23:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:02:58 | ------------------------------------

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

2020-09-01 23:02:58 | 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-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7</value><value>node-3c33f043-d682-42e1-9bd3-88442e1472e4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-09-01 23:02:58 |

2020-09-01 23:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:02:58 | ------------------------------------

2020-09-01 23:02:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7)</node-pattern></data>

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

subscribeNodes 1.162s
2020-09-01 23:02:56 |

2020-09-01 23:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:02:56 | ------------------------------------

2020-09-01 23:02:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.308s
2020-09-01 23:02:58 |

2020-09-01 23:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:02:58 | ------------------------------------

2020-09-01 23:02:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4cf12ac6-d4d3-4abe-af31-4f5213afcfd7</node><jids><value>admin@test-domain.com</value></jids></data>

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