Generated by TestNG with ReportNG at 21:43 PST on Monday 08 March 2021
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.980s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2021-03-08 22:06:03 |

2021-03-08 22:06:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:03 | ------------------------------------

2021-03-08 22:06:03 | [Mutex] waiting for: [configured:node:node-52a277c0-1af2-49c5-aefa-294f351a00c2:node-0be8a5d0-3ced-4a9e-bb67-f4a4534a888b]

2021-03-08 22:06:03 | [Mutex] received everything.

2021-03-08 22:06:03 | [Mutex] isItemNotified: configured:node:node-52a277c0-1af2-49c5-aefa-294f351a00c2:node-0be8a5d0-3ced-4a9e-bb67-f4a4534a888b :: true

2021-03-08 22:06:04 | [Mutex] waiting for: [received:nodes:a221463b-b7f9-42d7-9d5d-dab0cc860c28:localhost]

2021-03-08 22:06:04 | [Mutex] received everything.

2021-03-08 22:06:04 | [Mutex] isItemNotified: received:node:a221463b-b7f9-42d7-9d5d-dab0cc860c28:localhost:node-52a277c0-1af2-49c5-aefa-294f351a00c2:Node 52a277c0-1af2-49c5-aefa-294f351a00c2 :: true

2021-03-08 22:06:04 | [Mutex] waiting for: [received:nodes:0c96c681-b79a-4a9b-b74c-c0729e26630a:localhost]

2021-03-08 22:06:04 | [Mutex] received everything.

2021-03-08 22:06:04 | [Mutex] isItemNotified: received:node:0c96c681-b79a-4a9b-b74c-c0729e26630a:localhost:node-52a277c0-1af2-49c5-aefa-294f351a00c2:Node 52a277c0-1af2-49c5-aefa-294f351a00c2 :: false

createNodes 1.375s
2021-03-08 22:06:00 |

2021-03-08 22:06:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:00 | ------------------------------------

2021-03-08 22:06:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-52a277c0-1af2-49c5-aefa-294f351a00c2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 52a277c0-1af2-49c5-aefa-294f351a00c2</title></pubsub></data>

2021-03-08 22:06:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-08 22:06:02 | [Mutex] waiting for: [received:nodes:f8b72f9d-da00-4edf-8763-7dba76747f22:localhost]

2021-03-08 22:06:02 | [Mutex] received everything.

2021-03-08 22:06:02 | [Mutex] isItemNotified: received:node:f8b72f9d-da00-4edf-8763-7dba76747f22:localhost:node-52a277c0-1af2-49c5-aefa-294f351a00c2:Node 52a277c0-1af2-49c5-aefa-294f351a00c2 :: true

createSubnodes 1.031s
2021-03-08 22:06:02 |

2021-03-08 22:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:02 | ------------------------------------

2021-03-08 22:06:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0be8a5d0-3ced-4a9e-bb67-f4a4534a888b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0be8a5d0-3ced-4a9e-bb67-f4a4534a888b</title></pubsub></data>

2021-03-08 22:06:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-08 22:06:03 | [Mutex] waiting for: [received:nodes:0dae5856-4e8d-4554-b899-02545d9c2fa3:localhost]

2021-03-08 22:06:03 | [Mutex] received everything.

2021-03-08 22:06:03 | [Mutex] isItemNotified: received:node:0dae5856-4e8d-4554-b899-02545d9c2fa3:localhost:node-0be8a5d0-3ced-4a9e-bb67-f4a4534a888b:Node 0be8a5d0-3ced-4a9e-bb67-f4a4534a888b :: true

deleteNodes 1.031s
2021-03-08 22:06:08 |

2021-03-08 22:06:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:08 | ------------------------------------

2021-03-08 22:06:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0be8a5d0-3ced-4a9e-bb67-f4a4534a888b</node></data>

2021-03-08 22:06:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-08 22:06:09 | [Mutex] waiting for: [received:nodes:ee1adba2-c0f5-4e37-99fe-3f5592eee270:localhost]

2021-03-08 22:06:09 | [Mutex] received everything.

2021-03-08 22:06:09 | [Mutex] isItemNotified: received:node:ee1adba2-c0f5-4e37-99fe-3f5592eee270:localhost:node-0be8a5d0-3ced-4a9e-bb67-f4a4534a888b:Node 0be8a5d0-3ced-4a9e-bb67-f4a4534a888b :: false

deleteSubnodes 1.165s
2021-03-08 22:06:07 |

2021-03-08 22:06:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:07 | ------------------------------------

2021-03-08 22:06:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-52a277c0-1af2-49c5-aefa-294f351a00c2</node></data>

2021-03-08 22:06:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-08 22:06:08 | [Mutex] waiting for: [received:nodes:f28b1244-b64c-470d-afa0-a9d94e1d64f6:localhost]

2021-03-08 22:06:08 | [Mutex] received everything.

2021-03-08 22:06:08 | [Mutex] isItemNotified: received:node:f28b1244-b64c-470d-afa0-a9d94e1d64f6:localhost:node-52a277c0-1af2-49c5-aefa-294f351a00c2:Node 52a277c0-1af2-49c5-aefa-294f351a00c2 :: false

2021-03-08 22:06:08 | [Mutex] waiting for: [received:nodes:45ec220c-19b5-4d52-b15c-9612e5bac493:localhost]

2021-03-08 22:06:08 | [Mutex] received everything.

2021-03-08 22:06:08 | [Mutex] isItemNotified: received:node:45ec220c-19b5-4d52-b15c-9612e5bac493:localhost:node-52a277c0-1af2-49c5-aefa-294f351a00c2:Node 52a277c0-1af2-49c5-aefa-294f351a00c2 :: false

publishItemsToNodes 0.314s
2021-03-08 22:06:05 |

2021-03-08 22:06:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:05 | ------------------------------------

2021-03-08 22:06:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-52a277c0-1af2-49c5-aefa-294f351a00c2</node><item-id>item-9f628594-9926-424b-9f07-0466245e90c4</item-id><entry><test>item-9f628594-9926-424b-9f07-0466245e90c4</test></entry></data>

2021-03-08 22:06:05 | 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-9f628594-9926-424b-9f07-0466245e90c4</value></item-id></result>

2021-03-08 22:06:05 | [Mutex] waiting for: [published:item:notifieditem-9f628594-9926-424b-9f07-0466245e90c4:admin@test-domain.com]

2021-03-08 22:06:05 | [Mutex] received everything.

2021-03-08 22:06:05 | [Mutex] isItemNotified: published:item:notifieditem-9f628594-9926-424b-9f07-0466245e90c4:admin@test-domain.com :: true

retractItemsFromNodes 0.284s
2021-03-08 22:06:06 |

2021-03-08 22:06:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:06 | ------------------------------------

2021-03-08 22:06:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-52a277c0-1af2-49c5-aefa-294f351a00c2</node><item-id>item-9f628594-9926-424b-9f07-0466245e90c4</item-id></data>

2021-03-08 22:06:06 | 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-9f628594-9926-424b-9f07-0466245e90c4</value></item-id></result>

2021-03-08 22:06:06 | [Mutex] received everything.

2021-03-08 22:06:06 | [Mutex] isItemNotified: retracted:item:notifieditem-9f628594-9926-424b-9f07-0466245e90c4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.282s
2021-03-08 22:06:05 |

2021-03-08 22:06:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:05 | ------------------------------------

2021-03-08 22:06:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-52a277c0-1af2-49c5-aefa-294f351a00c2</node><item-id>item-9f628594-9926-424b-9f07-0466245e90c4</item-id></data>

2021-03-08 22:06:06 | 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-52a277c0-1af2-49c5-aefa-294f351a00c2</value></node><item-id type="text-single" label="Item ID"><value>item-9f628594-9926-424b-9f07-0466245e90c4</value></item-id><item type="text-multi" label="Item"><value><item id="item-9f628594-9926-424b-9f07-0466245e90c4"><test>item-9f628594-9926-424b-9f07-0466245e90c4</test></item></value></item></result>

2021-03-08 22:06:06 | [Mutex] notify: [retrieved:item:item-9f628594-9926-424b-9f07-0466245e90c4:payload-matches:true:localhost]

2021-03-08 22:06:06 | [Mutex] received everything.

2021-03-08 22:06:06 | [Mutex] isItemNotified: retrieved:item:item-9f628594-9926-424b-9f07-0466245e90c4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.059s
2021-03-08 22:06:06 |

2021-03-08 22:06:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:06 | ------------------------------------

2021-03-08 22:06:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-08 22:06:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-52a277c0-1af2-49c5-aefa-294f351a00c2</value><value>test</value><value>node-0be8a5d0-3ced-4a9e-bb67-f4a4534a888b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-03-08 22:06:06 |

2021-03-08 22:06:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:06 | ------------------------------------

2021-03-08 22:06:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-52a277c0-1af2-49c5-aefa-294f351a00c2)</node-pattern></data>

2021-03-08 22:06:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.141s
2021-03-08 22:06:04 |

2021-03-08 22:06:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:04 | ------------------------------------

2021-03-08 22:06:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-52a277c0-1af2-49c5-aefa-294f351a00c2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-08 22:06:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.250s
2021-03-08 22:06:06 |

2021-03-08 22:06:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 22:06:06 | ------------------------------------

2021-03-08 22:06:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-52a277c0-1af2-49c5-aefa-294f351a00c2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-08 22:06:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>