Generated by TestNG with ReportNG at 21:18 PST on Sunday 13 February 2022
root@785cf647a4ab / 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.321s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2022-02-13 21:35:08 |

2022-02-13 21:35:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:08 | ------------------------------------

2022-02-13 21:35:08 | [Mutex] waiting for: [configured:node:node-2388fa12-94a1-4653-b477-7e86ebccf80f:node-e27336d6-7b78-40a4-8f3c-e422d94e5b38]

2022-02-13 21:35:08 | [Mutex] received everything.

2022-02-13 21:35:08 | [Mutex] isItemNotified: configured:node:node-2388fa12-94a1-4653-b477-7e86ebccf80f:node-e27336d6-7b78-40a4-8f3c-e422d94e5b38 :: true

2022-02-13 21:35:09 | [Mutex] waiting for: [received:nodes:85d5495b-0bc2-4879-a2d6-bbdc556e3086:localhost]

2022-02-13 21:35:09 | [Mutex] received everything.

2022-02-13 21:35:09 | [Mutex] isItemNotified: received:node:85d5495b-0bc2-4879-a2d6-bbdc556e3086:localhost:node-2388fa12-94a1-4653-b477-7e86ebccf80f:Node 2388fa12-94a1-4653-b477-7e86ebccf80f :: true

2022-02-13 21:35:09 | [Mutex] waiting for: [received:nodes:73d45fb9-a467-4115-ae94-a886eef0bea5:localhost]

2022-02-13 21:35:09 | [Mutex] received everything.

2022-02-13 21:35:09 | [Mutex] isItemNotified: received:node:73d45fb9-a467-4115-ae94-a886eef0bea5:localhost:node-2388fa12-94a1-4653-b477-7e86ebccf80f:Node 2388fa12-94a1-4653-b477-7e86ebccf80f :: false

createNodes 1.570s
2022-02-13 21:35:05 |

2022-02-13 21:35:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:05 | ------------------------------------

2022-02-13 21:35:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2388fa12-94a1-4653-b477-7e86ebccf80f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2388fa12-94a1-4653-b477-7e86ebccf80f</title></pubsub></data>

2022-02-13 21:35:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 21:35:07 | [Mutex] waiting for: [received:nodes:8a0faee1-5e74-448c-b054-3d90479aa745:localhost]

2022-02-13 21:35:07 | [Mutex] received everything.

2022-02-13 21:35:07 | [Mutex] isItemNotified: received:node:8a0faee1-5e74-448c-b054-3d90479aa745:localhost:node-2388fa12-94a1-4653-b477-7e86ebccf80f:Node 2388fa12-94a1-4653-b477-7e86ebccf80f :: true

createSubnodes 1.054s
2022-02-13 21:35:07 |

2022-02-13 21:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:07 | ------------------------------------

2022-02-13 21:35:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e27336d6-7b78-40a4-8f3c-e422d94e5b38</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e27336d6-7b78-40a4-8f3c-e422d94e5b38</title></pubsub></data>

2022-02-13 21:35:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 21:35:08 | [Mutex] waiting for: [received:nodes:9c50fb03-bb0c-4167-81af-1e0238d83efb:localhost]

2022-02-13 21:35:08 | [Mutex] received everything.

2022-02-13 21:35:08 | [Mutex] isItemNotified: received:node:9c50fb03-bb0c-4167-81af-1e0238d83efb:localhost:node-e27336d6-7b78-40a4-8f3c-e422d94e5b38:Node e27336d6-7b78-40a4-8f3c-e422d94e5b38 :: true

deleteNodes 1.019s
2022-02-13 21:35:14 |

2022-02-13 21:35:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:14 | ------------------------------------

2022-02-13 21:35:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e27336d6-7b78-40a4-8f3c-e422d94e5b38</node></data>

2022-02-13 21:35:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 21:35:15 | [Mutex] waiting for: [received:nodes:8460a52f-90cd-448b-9769-0a16dfdf93e7:localhost]

2022-02-13 21:35:15 | [Mutex] received everything.

2022-02-13 21:35:15 | [Mutex] isItemNotified: received:node:8460a52f-90cd-448b-9769-0a16dfdf93e7:localhost:node-e27336d6-7b78-40a4-8f3c-e422d94e5b38:Node e27336d6-7b78-40a4-8f3c-e422d94e5b38 :: false

deleteSubnodes 1.146s
2022-02-13 21:35:13 |

2022-02-13 21:35:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:13 | ------------------------------------

2022-02-13 21:35:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2388fa12-94a1-4653-b477-7e86ebccf80f</node></data>

2022-02-13 21:35:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 21:35:14 | [Mutex] waiting for: [received:nodes:fbafa9d4-110d-4267-b351-c50fcd06d603:localhost]

2022-02-13 21:35:14 | [Mutex] waiting for: [received:nodes:fbafa9d4-110d-4267-b351-c50fcd06d603:localhost]

2022-02-13 21:35:14 | [Mutex] received everything.

2022-02-13 21:35:14 | [Mutex] isItemNotified: received:node:fbafa9d4-110d-4267-b351-c50fcd06d603:localhost:node-2388fa12-94a1-4653-b477-7e86ebccf80f:Node 2388fa12-94a1-4653-b477-7e86ebccf80f :: false

2022-02-13 21:35:14 | [Mutex] waiting for: [received:nodes:c6cb3bb6-6277-4029-8757-725f31905425:localhost]

2022-02-13 21:35:14 | [Mutex] received everything.

2022-02-13 21:35:14 | [Mutex] isItemNotified: received:node:c6cb3bb6-6277-4029-8757-725f31905425:localhost:node-2388fa12-94a1-4653-b477-7e86ebccf80f:Node 2388fa12-94a1-4653-b477-7e86ebccf80f :: false

publishItemsToNodes 0.355s
2022-02-13 21:35:10 |

2022-02-13 21:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:10 | ------------------------------------

2022-02-13 21:35:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2388fa12-94a1-4653-b477-7e86ebccf80f</node><item-id>item-216efe69-c468-4d95-8e63-a9ababae776b</item-id><entry><test>item-216efe69-c468-4d95-8e63-a9ababae776b</test></entry></data>

2022-02-13 21:35:11 | 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-216efe69-c468-4d95-8e63-a9ababae776b</value></item-id></result>

2022-02-13 21:35:11 | [Mutex] waiting for: [published:item:notifieditem-216efe69-c468-4d95-8e63-a9ababae776b:admin@test-domain.com]

2022-02-13 21:35:11 | [Mutex] received everything.

2022-02-13 21:35:11 | [Mutex] isItemNotified: published:item:notifieditem-216efe69-c468-4d95-8e63-a9ababae776b:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2022-02-13 21:35:11 |

2022-02-13 21:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:11 | ------------------------------------

2022-02-13 21:35:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2388fa12-94a1-4653-b477-7e86ebccf80f</node><item-id>item-216efe69-c468-4d95-8e63-a9ababae776b</item-id></data>

2022-02-13 21:35:11 | 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-216efe69-c468-4d95-8e63-a9ababae776b</value></item-id></result>

2022-02-13 21:35:11 | [Mutex] received everything.

2022-02-13 21:35:11 | [Mutex] isItemNotified: retracted:item:notifieditem-216efe69-c468-4d95-8e63-a9ababae776b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.245s
2022-02-13 21:35:11 |

2022-02-13 21:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:11 | ------------------------------------

2022-02-13 21:35:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2388fa12-94a1-4653-b477-7e86ebccf80f</node><item-id>item-216efe69-c468-4d95-8e63-a9ababae776b</item-id></data>

2022-02-13 21:35:11 | 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-2388fa12-94a1-4653-b477-7e86ebccf80f</value></node><item-id type="text-single" label="Item ID"><value>item-216efe69-c468-4d95-8e63-a9ababae776b</value></item-id><item type="text-multi" label="Item"><value><item id="item-216efe69-c468-4d95-8e63-a9ababae776b"><test>item-216efe69-c468-4d95-8e63-a9ababae776b</test></item></value></item></result>

2022-02-13 21:35:11 | [Mutex] notify: [retrieved:item:item-216efe69-c468-4d95-8e63-a9ababae776b:payload-matches:true:localhost]

2022-02-13 21:35:11 | [Mutex] received everything.

2022-02-13 21:35:11 | [Mutex] isItemNotified: retrieved:item:item-216efe69-c468-4d95-8e63-a9ababae776b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-13 21:35:11 |

2022-02-13 21:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:11 | ------------------------------------

2022-02-13 21:35:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-13 21:35:11 | 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-2388fa12-94a1-4653-b477-7e86ebccf80f</value><value>node-e27336d6-7b78-40a4-8f3c-e422d94e5b38</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2022-02-13 21:35:11 |

2022-02-13 21:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:11 | ------------------------------------

2022-02-13 21:35:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2388fa12-94a1-4653-b477-7e86ebccf80f)</node-pattern></data>

2022-02-13 21:35:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.161s
2022-02-13 21:35:09 |

2022-02-13 21:35:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:09 | ------------------------------------

2022-02-13 21:35:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2388fa12-94a1-4653-b477-7e86ebccf80f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-13 21:35:09 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.239s
2022-02-13 21:35:11 |

2022-02-13 21:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:11 | ------------------------------------

2022-02-13 21:35:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2388fa12-94a1-4653-b477-7e86ebccf80f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-13 21:35:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>