Generated by TestNG with ReportNG at 22:22 PDT on Monday 05 October 2020
root@87f6aca6b6f2 / 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.497s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2020-10-05 22:39:34 |

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

2020-10-05 22:39:34 | ------------------------------------

2020-10-05 22:39:34 | [Mutex] waiting for: [configured:node:node-0a267589-d4ad-4bc6-ad95-7718e3059143:node-63286ca9-38fd-4eeb-a7c3-cc426a5b367b]

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

2020-10-05 22:39:34 | [Mutex] isItemNotified: configured:node:node-0a267589-d4ad-4bc6-ad95-7718e3059143:node-63286ca9-38fd-4eeb-a7c3-cc426a5b367b :: true

2020-10-05 22:39:35 | [Mutex] waiting for: [received:nodes:124c90ed-2c07-48e9-84eb-dbf716e91a30:localhost]

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

2020-10-05 22:39:35 | [Mutex] isItemNotified: received:node:124c90ed-2c07-48e9-84eb-dbf716e91a30:localhost:node-0a267589-d4ad-4bc6-ad95-7718e3059143:Node 0a267589-d4ad-4bc6-ad95-7718e3059143 :: true

2020-10-05 22:39:35 | [Mutex] waiting for: [received:nodes:22daf3bd-7bcf-43c6-aa2f-8c7d5f3b8579:localhost]

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

2020-10-05 22:39:35 | [Mutex] isItemNotified: received:node:22daf3bd-7bcf-43c6-aa2f-8c7d5f3b8579:localhost:node-0a267589-d4ad-4bc6-ad95-7718e3059143:Node 0a267589-d4ad-4bc6-ad95-7718e3059143 :: false

createNodes 1.566s
2020-10-05 22:39:31 |

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

2020-10-05 22:39:31 | ------------------------------------

2020-10-05 22:39:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0a267589-d4ad-4bc6-ad95-7718e3059143</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0a267589-d4ad-4bc6-ad95-7718e3059143</title></pubsub></data>

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

2020-10-05 22:39:33 | [Mutex] waiting for: [received:nodes:f0ea6078-f899-4dcb-856f-c531dd1354ad:localhost]

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

2020-10-05 22:39:33 | [Mutex] isItemNotified: received:node:f0ea6078-f899-4dcb-856f-c531dd1354ad:localhost:node-0a267589-d4ad-4bc6-ad95-7718e3059143:Node 0a267589-d4ad-4bc6-ad95-7718e3059143 :: true

createSubnodes 1.025s
2020-10-05 22:39:33 |

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

2020-10-05 22:39:33 | ------------------------------------

2020-10-05 22:39:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-63286ca9-38fd-4eeb-a7c3-cc426a5b367b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 63286ca9-38fd-4eeb-a7c3-cc426a5b367b</title></pubsub></data>

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

2020-10-05 22:39:34 | [Mutex] waiting for: [received:nodes:1efc9b4e-39d7-4cf4-8ba7-bf9b677eb6bf:localhost]

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

2020-10-05 22:39:34 | [Mutex] isItemNotified: received:node:1efc9b4e-39d7-4cf4-8ba7-bf9b677eb6bf:localhost:node-63286ca9-38fd-4eeb-a7c3-cc426a5b367b:Node 63286ca9-38fd-4eeb-a7c3-cc426a5b367b :: true

deleteNodes 1.024s
2020-10-05 22:39:40 |

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

2020-10-05 22:39:40 | ------------------------------------

2020-10-05 22:39:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-63286ca9-38fd-4eeb-a7c3-cc426a5b367b</node></data>

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

2020-10-05 22:39:41 | [Mutex] waiting for: [received:nodes:7c5843e2-7cb8-4794-8f65-aa6f29885765:localhost]

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

2020-10-05 22:39:41 | [Mutex] isItemNotified: received:node:7c5843e2-7cb8-4794-8f65-aa6f29885765:localhost:node-63286ca9-38fd-4eeb-a7c3-cc426a5b367b:Node 63286ca9-38fd-4eeb-a7c3-cc426a5b367b :: false

deleteSubnodes 1.160s
2020-10-05 22:39:39 |

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

2020-10-05 22:39:39 | ------------------------------------

2020-10-05 22:39:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0a267589-d4ad-4bc6-ad95-7718e3059143</node></data>

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

2020-10-05 22:39:40 | [Mutex] waiting for: [received:nodes:b664fc39-0caf-48fd-9208-1c0ac3189fa1:localhost]

2020-10-05 22:39:40 | [Mutex] waiting for: [received:nodes:b664fc39-0caf-48fd-9208-1c0ac3189fa1:localhost]

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

2020-10-05 22:39:40 | [Mutex] isItemNotified: received:node:b664fc39-0caf-48fd-9208-1c0ac3189fa1:localhost:node-0a267589-d4ad-4bc6-ad95-7718e3059143:Node 0a267589-d4ad-4bc6-ad95-7718e3059143 :: false

2020-10-05 22:39:40 | [Mutex] waiting for: [received:nodes:148f44f2-9467-4643-91ef-409fe325d631:localhost]

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

2020-10-05 22:39:40 | [Mutex] isItemNotified: received:node:148f44f2-9467-4643-91ef-409fe325d631:localhost:node-0a267589-d4ad-4bc6-ad95-7718e3059143:Node 0a267589-d4ad-4bc6-ad95-7718e3059143 :: false

publishItemsToNodes 0.291s
2020-10-05 22:39:36 |

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

2020-10-05 22:39:36 | ------------------------------------

2020-10-05 22:39:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0a267589-d4ad-4bc6-ad95-7718e3059143</node><item-id>item-5f53ffbb-dc5c-478b-8257-b54321033309</item-id><entry><test>item-5f53ffbb-dc5c-478b-8257-b54321033309</test></entry></data>

2020-10-05 22:39:37 | 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-5f53ffbb-dc5c-478b-8257-b54321033309</value></item-id></result>

2020-10-05 22:39:37 | [Mutex] waiting for: [published:item:notifieditem-5f53ffbb-dc5c-478b-8257-b54321033309:admin@test-domain.com]

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

2020-10-05 22:39:37 | [Mutex] isItemNotified: published:item:notifieditem-5f53ffbb-dc5c-478b-8257-b54321033309:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2020-10-05 22:39:37 |

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

2020-10-05 22:39:37 | ------------------------------------

2020-10-05 22:39:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0a267589-d4ad-4bc6-ad95-7718e3059143</node><item-id>item-5f53ffbb-dc5c-478b-8257-b54321033309</item-id></data>

2020-10-05 22:39:37 | 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-5f53ffbb-dc5c-478b-8257-b54321033309</value></item-id></result>

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

2020-10-05 22:39:37 | [Mutex] isItemNotified: retracted:item:notifieditem-5f53ffbb-dc5c-478b-8257-b54321033309:admin@test-domain.com :: true

retrieveItemsFromNodes 0.277s
2020-10-05 22:39:37 |

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

2020-10-05 22:39:37 | ------------------------------------

2020-10-05 22:39:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0a267589-d4ad-4bc6-ad95-7718e3059143</node><item-id>item-5f53ffbb-dc5c-478b-8257-b54321033309</item-id></data>

2020-10-05 22:39:37 | 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-0a267589-d4ad-4bc6-ad95-7718e3059143</value></node><item-id label="Item ID" type="text-single"><value>item-5f53ffbb-dc5c-478b-8257-b54321033309</value></item-id><item label="Item" type="text-multi"><value><item id="item-5f53ffbb-dc5c-478b-8257-b54321033309"><test>item-5f53ffbb-dc5c-478b-8257-b54321033309</test></item></value></item></result>

2020-10-05 22:39:37 | [Mutex] notify: [retrieved:item:item-5f53ffbb-dc5c-478b-8257-b54321033309:payload-matches:true:localhost]

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

2020-10-05 22:39:37 | [Mutex] isItemNotified: retrieved:item:item-5f53ffbb-dc5c-478b-8257-b54321033309:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-05 22:39:37 |

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

2020-10-05 22:39:37 | ------------------------------------

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

2020-10-05 22:39:37 | 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-0a267589-d4ad-4bc6-ad95-7718e3059143</value><value>node-63286ca9-38fd-4eeb-a7c3-cc426a5b367b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2020-10-05 22:39:37 |

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

2020-10-05 22:39:37 | ------------------------------------

2020-10-05 22:39:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0a267589-d4ad-4bc6-ad95-7718e3059143)</node-pattern></data>

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

subscribeNodes 1.172s
2020-10-05 22:39:35 |

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

2020-10-05 22:39:35 | ------------------------------------

2020-10-05 22:39:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0a267589-d4ad-4bc6-ad95-7718e3059143</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.427s
2020-10-05 22:39:37 |

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

2020-10-05 22:39:37 | ------------------------------------

2020-10-05 22:39:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0a267589-d4ad-4bc6-ad95-7718e3059143</node><jids><value>admin@test-domain.com</value></jids></data>

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