Generated by TestNG with ReportNG at 15:47 PST on Friday 24 February 2023
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.470s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2023-02-24 16:01:22 |

2023-02-24 16:01:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:22 | ------------------------------------

2023-02-24 16:01:22 | [Mutex] waiting for: [configured:node:node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082:node-143ba824-fb32-406f-ad0c-ecf6b05a8c5b]

2023-02-24 16:01:22 | [Mutex] received everything.

2023-02-24 16:01:22 | [Mutex] isItemNotified: configured:node:node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082:node-143ba824-fb32-406f-ad0c-ecf6b05a8c5b :: true

2023-02-24 16:01:23 | [Mutex] waiting for: [received:nodes:b8fe2679-8e66-4eea-a63d-713634216528:localhost]

2023-02-24 16:01:23 | [Mutex] received everything.

2023-02-24 16:01:23 | [Mutex] isItemNotified: received:node:b8fe2679-8e66-4eea-a63d-713634216528:localhost:node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082:Node 7a94eac9-f5bc-43ee-bcca-a9a02a5c2082 :: true

2023-02-24 16:01:23 | [Mutex] waiting for: [received:nodes:a5a2f579-8ad6-403a-acd2-bbbaa15bbce2:localhost]

2023-02-24 16:01:23 | [Mutex] waiting for: [received:nodes:a5a2f579-8ad6-403a-acd2-bbbaa15bbce2:localhost]

2023-02-24 16:01:23 | [Mutex] waiting for: [received:nodes:a5a2f579-8ad6-403a-acd2-bbbaa15bbce2:localhost]

2023-02-24 16:01:23 | [Mutex] waiting for: [received:nodes:a5a2f579-8ad6-403a-acd2-bbbaa15bbce2:localhost]

2023-02-24 16:01:23 | [Mutex] received everything.

2023-02-24 16:01:23 | [Mutex] isItemNotified: received:node:a5a2f579-8ad6-403a-acd2-bbbaa15bbce2:localhost:node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082:Node 7a94eac9-f5bc-43ee-bcca-a9a02a5c2082 :: false

createNodes 1.450s
2023-02-24 16:01:19 |

2023-02-24 16:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:19 | ------------------------------------

2023-02-24 16:01:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7a94eac9-f5bc-43ee-bcca-a9a02a5c2082</title></pubsub></data>

2023-02-24 16:01:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 16:01:21 | [Mutex] waiting for: [received:nodes:5a5347d3-b979-4076-9b3a-d5c8e2d380cd:localhost]

2023-02-24 16:01:21 | [Mutex] waiting for: [received:nodes:5a5347d3-b979-4076-9b3a-d5c8e2d380cd:localhost]

2023-02-24 16:01:21 | [Mutex] waiting for: [received:nodes:5a5347d3-b979-4076-9b3a-d5c8e2d380cd:localhost]

2023-02-24 16:01:21 | [Mutex] received everything.

2023-02-24 16:01:21 | [Mutex] isItemNotified: received:node:5a5347d3-b979-4076-9b3a-d5c8e2d380cd:localhost:node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082:Node 7a94eac9-f5bc-43ee-bcca-a9a02a5c2082 :: true

createSubnodes 1.022s
2023-02-24 16:01:21 |

2023-02-24 16:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:21 | ------------------------------------

2023-02-24 16:01:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-143ba824-fb32-406f-ad0c-ecf6b05a8c5b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 143ba824-fb32-406f-ad0c-ecf6b05a8c5b</title></pubsub></data>

2023-02-24 16:01:21 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 16:01:22 | [Mutex] waiting for: [received:nodes:6a37a7ad-0301-404c-96f7-71325328c49c:localhost]

2023-02-24 16:01:22 | [Mutex] waiting for: [received:nodes:6a37a7ad-0301-404c-96f7-71325328c49c:localhost]

2023-02-24 16:01:22 | [Mutex] waiting for: [received:nodes:6a37a7ad-0301-404c-96f7-71325328c49c:localhost]

2023-02-24 16:01:22 | [Mutex] waiting for: [received:nodes:6a37a7ad-0301-404c-96f7-71325328c49c:localhost]

2023-02-24 16:01:22 | [Mutex] received everything.

2023-02-24 16:01:22 | [Mutex] isItemNotified: received:node:6a37a7ad-0301-404c-96f7-71325328c49c:localhost:node-143ba824-fb32-406f-ad0c-ecf6b05a8c5b:Node 143ba824-fb32-406f-ad0c-ecf6b05a8c5b :: true

deleteNodes 1.018s
2023-02-24 16:01:27 |

2023-02-24 16:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:27 | ------------------------------------

2023-02-24 16:01:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-143ba824-fb32-406f-ad0c-ecf6b05a8c5b</node></data>

2023-02-24 16:01:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 16:01:28 | [Mutex] waiting for: [received:nodes:9b60cbfb-c6c9-40c4-b92b-c05d6fad5c9c:localhost]

2023-02-24 16:01:28 | [Mutex] waiting for: [received:nodes:9b60cbfb-c6c9-40c4-b92b-c05d6fad5c9c:localhost]

2023-02-24 16:01:28 | [Mutex] waiting for: [received:nodes:9b60cbfb-c6c9-40c4-b92b-c05d6fad5c9c:localhost]

2023-02-24 16:01:28 | [Mutex] received everything.

2023-02-24 16:01:28 | [Mutex] isItemNotified: received:node:9b60cbfb-c6c9-40c4-b92b-c05d6fad5c9c:localhost:node-143ba824-fb32-406f-ad0c-ecf6b05a8c5b:Node 143ba824-fb32-406f-ad0c-ecf6b05a8c5b :: false

deleteSubnodes 1.159s
2023-02-24 16:01:26 |

2023-02-24 16:01:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:26 | ------------------------------------

2023-02-24 16:01:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082</node></data>

2023-02-24 16:01:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 16:01:27 | [Mutex] waiting for: [received:nodes:ba7a68b0-21c8-4ec2-a11a-10ba33baa3f1:localhost]

2023-02-24 16:01:27 | [Mutex] waiting for: [received:nodes:ba7a68b0-21c8-4ec2-a11a-10ba33baa3f1:localhost]

2023-02-24 16:01:27 | [Mutex] waiting for: [received:nodes:ba7a68b0-21c8-4ec2-a11a-10ba33baa3f1:localhost]

2023-02-24 16:01:27 | [Mutex] waiting for: [received:nodes:ba7a68b0-21c8-4ec2-a11a-10ba33baa3f1:localhost]

2023-02-24 16:01:27 | [Mutex] received everything.

2023-02-24 16:01:27 | [Mutex] isItemNotified: received:node:ba7a68b0-21c8-4ec2-a11a-10ba33baa3f1:localhost:node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082:Node 7a94eac9-f5bc-43ee-bcca-a9a02a5c2082 :: false

2023-02-24 16:01:27 | [Mutex] waiting for: [received:nodes:619ed772-352c-4bdb-b502-09bfb9c702d6:localhost]

2023-02-24 16:01:27 | [Mutex] received everything.

2023-02-24 16:01:27 | [Mutex] isItemNotified: received:node:619ed772-352c-4bdb-b502-09bfb9c702d6:localhost:node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082:Node 7a94eac9-f5bc-43ee-bcca-a9a02a5c2082 :: false

publishItemsToNodes 0.314s
2023-02-24 16:01:24 |

2023-02-24 16:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:24 | ------------------------------------

2023-02-24 16:01:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082</node><item-id>item-1f99b0c7-b484-4fa7-b1c8-478523910569</item-id><entry><test>item-1f99b0c7-b484-4fa7-b1c8-478523910569</test></entry></data>

2023-02-24 16:01:24 | 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-1f99b0c7-b484-4fa7-b1c8-478523910569</value></item-id></result>

2023-02-24 16:01:24 | [Mutex] waiting for: [published:item:notifieditem-1f99b0c7-b484-4fa7-b1c8-478523910569:admin@test-domain.com]

2023-02-24 16:01:24 | [Mutex] received everything.

2023-02-24 16:01:24 | [Mutex] isItemNotified: published:item:notifieditem-1f99b0c7-b484-4fa7-b1c8-478523910569:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2023-02-24 16:01:24 |

2023-02-24 16:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:24 | ------------------------------------

2023-02-24 16:01:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082</node><item-id>item-1f99b0c7-b484-4fa7-b1c8-478523910569</item-id></data>

2023-02-24 16:01:25 | 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-1f99b0c7-b484-4fa7-b1c8-478523910569</value></item-id></result>

2023-02-24 16:01:25 | [Mutex] received everything.

2023-02-24 16:01:25 | [Mutex] isItemNotified: retracted:item:notifieditem-1f99b0c7-b484-4fa7-b1c8-478523910569:admin@test-domain.com :: true

retrieveItemsFromNodes 0.182s
2023-02-24 16:01:24 |

2023-02-24 16:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:24 | ------------------------------------

2023-02-24 16:01:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082</node><item-id>item-1f99b0c7-b484-4fa7-b1c8-478523910569</item-id></data>

2023-02-24 16:01:24 | 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-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082</value></node><item-id label="Item ID" type="text-single"><value>item-1f99b0c7-b484-4fa7-b1c8-478523910569</value></item-id><item label="Item" type="text-multi"><value><item id="item-1f99b0c7-b484-4fa7-b1c8-478523910569"><test>item-1f99b0c7-b484-4fa7-b1c8-478523910569</test></item></value></item></result>

2023-02-24 16:01:24 | [Mutex] notify: [retrieved:item:item-1f99b0c7-b484-4fa7-b1c8-478523910569:payload-matches:true:localhost]

2023-02-24 16:01:24 | [Mutex] received everything.

2023-02-24 16:01:24 | [Mutex] isItemNotified: retrieved:item:item-1f99b0c7-b484-4fa7-b1c8-478523910569:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2023-02-24 16:01:24 |

2023-02-24 16:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:24 | ------------------------------------

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

2023-02-24 16:01:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-143ba824-fb32-406f-ad0c-ecf6b05a8c5b</value><value>test</value><value>node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-02-24 16:01:24 |

2023-02-24 16:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:24 | ------------------------------------

2023-02-24 16:01:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082)</node-pattern></data>

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

subscribeNodes 1.117s
2023-02-24 16:01:23 |

2023-02-24 16:01:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:23 | ------------------------------------

2023-02-24 16:01:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.167s
2023-02-24 16:01:25 |

2023-02-24 16:01:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 16:01:25 | ------------------------------------

2023-02-24 16:01:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7a94eac9-f5bc-43ee-bcca-a9a02a5c2082</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-24 16:01:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>