Generated by TestNG with ReportNG at 21:25 PST on Tuesday 29 December 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.065s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2020-12-29 21:42:01 |

2020-12-29 21:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:01 | ------------------------------------

2020-12-29 21:42:01 | [Mutex] waiting for: [configured:node:node-997553ba-a0c7-42f3-ba57-1a76532b7269:node-55c40d4a-5eeb-4fca-9270-e329dac05f52]

2020-12-29 21:42:01 | [Mutex] received everything.

2020-12-29 21:42:01 | [Mutex] isItemNotified: configured:node:node-997553ba-a0c7-42f3-ba57-1a76532b7269:node-55c40d4a-5eeb-4fca-9270-e329dac05f52 :: true

2020-12-29 21:42:02 | [Mutex] waiting for: [received:nodes:7450ce5c-6ba1-4875-bdd8-578f9bf06d3c:localhost]

2020-12-29 21:42:02 | [Mutex] received everything.

2020-12-29 21:42:02 | [Mutex] isItemNotified: received:node:7450ce5c-6ba1-4875-bdd8-578f9bf06d3c:localhost:node-997553ba-a0c7-42f3-ba57-1a76532b7269:Node 997553ba-a0c7-42f3-ba57-1a76532b7269 :: true

2020-12-29 21:42:02 | [Mutex] waiting for: [received:nodes:8c67ff1b-37fc-4890-b620-97129143241a:localhost]

2020-12-29 21:42:02 | [Mutex] received everything.

2020-12-29 21:42:02 | [Mutex] isItemNotified: received:node:8c67ff1b-37fc-4890-b620-97129143241a:localhost:node-997553ba-a0c7-42f3-ba57-1a76532b7269:Node 997553ba-a0c7-42f3-ba57-1a76532b7269 :: false

createNodes 1.403s
2020-12-29 21:41:58 |

2020-12-29 21:41:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:41:58 | ------------------------------------

2020-12-29 21:41:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-997553ba-a0c7-42f3-ba57-1a76532b7269</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 997553ba-a0c7-42f3-ba57-1a76532b7269</title></pubsub></data>

2020-12-29 21:41:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:42:00 | [Mutex] waiting for: [received:nodes:24d8766c-bcc8-4f50-bcc3-5675747ffa1d:localhost]

2020-12-29 21:42:00 | [Mutex] received everything.

2020-12-29 21:42:00 | [Mutex] isItemNotified: received:node:24d8766c-bcc8-4f50-bcc3-5675747ffa1d:localhost:node-997553ba-a0c7-42f3-ba57-1a76532b7269:Node 997553ba-a0c7-42f3-ba57-1a76532b7269 :: true

createSubnodes 1.026s
2020-12-29 21:42:00 |

2020-12-29 21:42:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:00 | ------------------------------------

2020-12-29 21:42:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-55c40d4a-5eeb-4fca-9270-e329dac05f52</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 55c40d4a-5eeb-4fca-9270-e329dac05f52</title></pubsub></data>

2020-12-29 21:42:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:42:01 | [Mutex] waiting for: [received:nodes:3f8caa06-3847-4ef8-a755-994427469dca:localhost]

2020-12-29 21:42:01 | [Mutex] waiting for: [received:nodes:3f8caa06-3847-4ef8-a755-994427469dca:localhost]

2020-12-29 21:42:01 | [Mutex] received everything.

2020-12-29 21:42:01 | [Mutex] isItemNotified: received:node:3f8caa06-3847-4ef8-a755-994427469dca:localhost:node-55c40d4a-5eeb-4fca-9270-e329dac05f52:Node 55c40d4a-5eeb-4fca-9270-e329dac05f52 :: true

deleteNodes 1.023s
2020-12-29 21:42:06 |

2020-12-29 21:42:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:06 | ------------------------------------

2020-12-29 21:42:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-55c40d4a-5eeb-4fca-9270-e329dac05f52</node></data>

2020-12-29 21:42:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:42:07 | [Mutex] waiting for: [received:nodes:005bcebe-9812-4578-924c-2cd38cb1e7a5:localhost]

2020-12-29 21:42:07 | [Mutex] received everything.

2020-12-29 21:42:07 | [Mutex] isItemNotified: received:node:005bcebe-9812-4578-924c-2cd38cb1e7a5:localhost:node-55c40d4a-5eeb-4fca-9270-e329dac05f52:Node 55c40d4a-5eeb-4fca-9270-e329dac05f52 :: false

deleteSubnodes 1.146s
2020-12-29 21:42:05 |

2020-12-29 21:42:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:05 | ------------------------------------

2020-12-29 21:42:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-997553ba-a0c7-42f3-ba57-1a76532b7269</node></data>

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

2020-12-29 21:42:06 | [Mutex] waiting for: [received:nodes:c9599501-d982-47ec-8993-eb06899e8d92:localhost]

2020-12-29 21:42:06 | [Mutex] received everything.

2020-12-29 21:42:06 | [Mutex] isItemNotified: received:node:c9599501-d982-47ec-8993-eb06899e8d92:localhost:node-997553ba-a0c7-42f3-ba57-1a76532b7269:Node 997553ba-a0c7-42f3-ba57-1a76532b7269 :: false

2020-12-29 21:42:06 | [Mutex] waiting for: [received:nodes:ae1647ea-4170-45c1-ad65-03c04e10d4c9:localhost]

2020-12-29 21:42:06 | [Mutex] received everything.

2020-12-29 21:42:06 | [Mutex] isItemNotified: received:node:ae1647ea-4170-45c1-ad65-03c04e10d4c9:localhost:node-997553ba-a0c7-42f3-ba57-1a76532b7269:Node 997553ba-a0c7-42f3-ba57-1a76532b7269 :: false

publishItemsToNodes 0.224s
2020-12-29 21:42:03 |

2020-12-29 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:03 | ------------------------------------

2020-12-29 21:42:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-997553ba-a0c7-42f3-ba57-1a76532b7269</node><item-id>item-cdd9f6a0-6997-4b9d-8f48-505a786fac93</item-id><entry><test>item-cdd9f6a0-6997-4b9d-8f48-505a786fac93</test></entry></data>

2020-12-29 21:42:03 | 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-cdd9f6a0-6997-4b9d-8f48-505a786fac93</value></item-id></result>

2020-12-29 21:42:03 | [Mutex] waiting for: [published:item:notifieditem-cdd9f6a0-6997-4b9d-8f48-505a786fac93:admin@test-domain.com]

2020-12-29 21:42:03 | [Mutex] received everything.

2020-12-29 21:42:03 | [Mutex] isItemNotified: published:item:notifieditem-cdd9f6a0-6997-4b9d-8f48-505a786fac93:admin@test-domain.com :: true

retractItemsFromNodes 0.230s
2020-12-29 21:42:03 |

2020-12-29 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:03 | ------------------------------------

2020-12-29 21:42:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-997553ba-a0c7-42f3-ba57-1a76532b7269</node><item-id>item-cdd9f6a0-6997-4b9d-8f48-505a786fac93</item-id></data>

2020-12-29 21:42:04 | 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-cdd9f6a0-6997-4b9d-8f48-505a786fac93</value></item-id></result>

2020-12-29 21:42:04 | [Mutex] waiting for: [retracted:item:notifieditem-cdd9f6a0-6997-4b9d-8f48-505a786fac93:admin@test-domain.com]

2020-12-29 21:42:04 | [Mutex] received everything.

2020-12-29 21:42:04 | [Mutex] isItemNotified: retracted:item:notifieditem-cdd9f6a0-6997-4b9d-8f48-505a786fac93:admin@test-domain.com :: true

retrieveItemsFromNodes 0.338s
2020-12-29 21:42:03 |

2020-12-29 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:03 | ------------------------------------

2020-12-29 21:42:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-997553ba-a0c7-42f3-ba57-1a76532b7269</node><item-id>item-cdd9f6a0-6997-4b9d-8f48-505a786fac93</item-id></data>

2020-12-29 21:42:03 | 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-997553ba-a0c7-42f3-ba57-1a76532b7269</value></node><item-id type="text-single" label="Item ID"><value>item-cdd9f6a0-6997-4b9d-8f48-505a786fac93</value></item-id><item type="text-multi" label="Item"><value><item id="item-cdd9f6a0-6997-4b9d-8f48-505a786fac93"><test>item-cdd9f6a0-6997-4b9d-8f48-505a786fac93</test></item></value></item></result>

2020-12-29 21:42:03 | [Mutex] notify: [retrieved:item:item-cdd9f6a0-6997-4b9d-8f48-505a786fac93:payload-matches:true:localhost]

2020-12-29 21:42:03 | [Mutex] received everything.

2020-12-29 21:42:03 | [Mutex] isItemNotified: retrieved:item:item-cdd9f6a0-6997-4b9d-8f48-505a786fac93:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-12-29 21:42:03 |

2020-12-29 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:03 | ------------------------------------

2020-12-29 21:42:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-29 21:42:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-55c40d4a-5eeb-4fca-9270-e329dac05f52</value><value>node-997553ba-a0c7-42f3-ba57-1a76532b7269</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-12-29 21:42:03 |

2020-12-29 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:03 | ------------------------------------

2020-12-29 21:42:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-997553ba-a0c7-42f3-ba57-1a76532b7269)</node-pattern></data>

2020-12-29 21:42:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.151s
2020-12-29 21:42:02 |

2020-12-29 21:42:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:02 | ------------------------------------

2020-12-29 21:42:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-997553ba-a0c7-42f3-ba57-1a76532b7269</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-29 21:42:02 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.348s
2020-12-29 21:42:04 |

2020-12-29 21:42:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:42:04 | ------------------------------------

2020-12-29 21:42:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-997553ba-a0c7-42f3-ba57-1a76532b7269</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-29 21:42:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>