Generated by TestNG with ReportNG at 22:33 PDT on Wednesday 29 June 2022
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.657s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2022-06-29 22:47:09 |

2022-06-29 22:47:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:09 | ------------------------------------

2022-06-29 22:47:09 | [Mutex] waiting for: [configured:node:node-927134c6-a250-4f81-bfa3-07980e778e13:node-c59b6d5d-c8e2-490a-8598-662bc095e33d]

2022-06-29 22:47:09 | [Mutex] received everything.

2022-06-29 22:47:09 | [Mutex] isItemNotified: configured:node:node-927134c6-a250-4f81-bfa3-07980e778e13:node-c59b6d5d-c8e2-490a-8598-662bc095e33d :: true

2022-06-29 22:47:10 | [Mutex] waiting for: [received:nodes:8968b122-10db-45e3-939e-b90f5cd3e79c:localhost]

2022-06-29 22:47:10 | [Mutex] received everything.

2022-06-29 22:47:10 | [Mutex] isItemNotified: received:node:8968b122-10db-45e3-939e-b90f5cd3e79c:localhost:node-927134c6-a250-4f81-bfa3-07980e778e13:Node 927134c6-a250-4f81-bfa3-07980e778e13 :: true

2022-06-29 22:47:10 | [Mutex] waiting for: [received:nodes:3f381a17-4564-4422-bd7c-b944394aa240:localhost]

2022-06-29 22:47:10 | [Mutex] received everything.

2022-06-29 22:47:10 | [Mutex] isItemNotified: received:node:3f381a17-4564-4422-bd7c-b944394aa240:localhost:node-927134c6-a250-4f81-bfa3-07980e778e13:Node 927134c6-a250-4f81-bfa3-07980e778e13 :: false

createNodes 1.530s
2022-06-29 22:47:07 |

2022-06-29 22:47:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:07 | ------------------------------------

2022-06-29 22:47:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-927134c6-a250-4f81-bfa3-07980e778e13</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 927134c6-a250-4f81-bfa3-07980e778e13</title></pubsub></data>

2022-06-29 22:47:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-29 22:47:08 | [Mutex] waiting for: [received:nodes:9f028c7e-e5db-437f-8a10-10ea283c082b:localhost]

2022-06-29 22:47:08 | [Mutex] received everything.

2022-06-29 22:47:08 | [Mutex] isItemNotified: received:node:9f028c7e-e5db-437f-8a10-10ea283c082b:localhost:node-927134c6-a250-4f81-bfa3-07980e778e13:Node 927134c6-a250-4f81-bfa3-07980e778e13 :: true

createSubnodes 1.029s
2022-06-29 22:47:08 |

2022-06-29 22:47:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:08 | ------------------------------------

2022-06-29 22:47:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c59b6d5d-c8e2-490a-8598-662bc095e33d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c59b6d5d-c8e2-490a-8598-662bc095e33d</title></pubsub></data>

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

2022-06-29 22:47:09 | [Mutex] waiting for: [received:nodes:ea085d11-d0ca-45e4-a7e1-0eec619de08c:localhost]

2022-06-29 22:47:09 | [Mutex] waiting for: [received:nodes:ea085d11-d0ca-45e4-a7e1-0eec619de08c:localhost]

2022-06-29 22:47:09 | [Mutex] received everything.

2022-06-29 22:47:09 | [Mutex] isItemNotified: received:node:ea085d11-d0ca-45e4-a7e1-0eec619de08c:localhost:node-c59b6d5d-c8e2-490a-8598-662bc095e33d:Node c59b6d5d-c8e2-490a-8598-662bc095e33d :: true

deleteNodes 1.022s
2022-06-29 22:47:15 |

2022-06-29 22:47:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:15 | ------------------------------------

2022-06-29 22:47:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c59b6d5d-c8e2-490a-8598-662bc095e33d</node></data>

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

2022-06-29 22:47:16 | [Mutex] waiting for: [received:nodes:8b23a9a3-ba8f-4c30-96f1-a11aef7509e1:localhost]

2022-06-29 22:47:16 | [Mutex] waiting for: [received:nodes:8b23a9a3-ba8f-4c30-96f1-a11aef7509e1:localhost]

2022-06-29 22:47:16 | [Mutex] waiting for: [received:nodes:8b23a9a3-ba8f-4c30-96f1-a11aef7509e1:localhost]

2022-06-29 22:47:16 | [Mutex] received everything.

2022-06-29 22:47:16 | [Mutex] isItemNotified: received:node:8b23a9a3-ba8f-4c30-96f1-a11aef7509e1:localhost:node-c59b6d5d-c8e2-490a-8598-662bc095e33d:Node c59b6d5d-c8e2-490a-8598-662bc095e33d :: false

deleteSubnodes 1.153s
2022-06-29 22:47:13 |

2022-06-29 22:47:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:13 | ------------------------------------

2022-06-29 22:47:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-927134c6-a250-4f81-bfa3-07980e778e13</node></data>

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

2022-06-29 22:47:15 | [Mutex] waiting for: [received:nodes:ff850ec6-f88f-4dc6-8c1f-8919747f6775:localhost]

2022-06-29 22:47:15 | [Mutex] received everything.

2022-06-29 22:47:15 | [Mutex] isItemNotified: received:node:ff850ec6-f88f-4dc6-8c1f-8919747f6775:localhost:node-927134c6-a250-4f81-bfa3-07980e778e13:Node 927134c6-a250-4f81-bfa3-07980e778e13 :: false

2022-06-29 22:47:15 | [Mutex] waiting for: [received:nodes:c24bff4f-7597-40cd-b9cd-7bbd0696f82f:localhost]

2022-06-29 22:47:15 | [Mutex] received everything.

2022-06-29 22:47:15 | [Mutex] isItemNotified: received:node:c24bff4f-7597-40cd-b9cd-7bbd0696f82f:localhost:node-927134c6-a250-4f81-bfa3-07980e778e13:Node 927134c6-a250-4f81-bfa3-07980e778e13 :: false

publishItemsToNodes 0.188s
2022-06-29 22:47:11 |

2022-06-29 22:47:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:11 | ------------------------------------

2022-06-29 22:47:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-927134c6-a250-4f81-bfa3-07980e778e13</node><item-id>item-dea24e70-d74a-4c26-80bd-7b57eb154f94</item-id><entry><test>item-dea24e70-d74a-4c26-80bd-7b57eb154f94</test></entry></data>

2022-06-29 22:47:12 | 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-dea24e70-d74a-4c26-80bd-7b57eb154f94</value></item-id></result>

2022-06-29 22:47:12 | [Mutex] waiting for: [published:item:notifieditem-dea24e70-d74a-4c26-80bd-7b57eb154f94:admin@test-domain.com]

2022-06-29 22:47:12 | [Mutex] received everything.

2022-06-29 22:47:12 | [Mutex] isItemNotified: published:item:notifieditem-dea24e70-d74a-4c26-80bd-7b57eb154f94:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2022-06-29 22:47:12 |

2022-06-29 22:47:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:12 | ------------------------------------

2022-06-29 22:47:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-927134c6-a250-4f81-bfa3-07980e778e13</node><item-id>item-dea24e70-d74a-4c26-80bd-7b57eb154f94</item-id></data>

2022-06-29 22:47:12 | 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-dea24e70-d74a-4c26-80bd-7b57eb154f94</value></item-id></result>

2022-06-29 22:47:12 | [Mutex] received everything.

2022-06-29 22:47:12 | [Mutex] isItemNotified: retracted:item:notifieditem-dea24e70-d74a-4c26-80bd-7b57eb154f94:admin@test-domain.com :: true

retrieveItemsFromNodes 0.207s
2022-06-29 22:47:12 |

2022-06-29 22:47:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:12 | ------------------------------------

2022-06-29 22:47:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-927134c6-a250-4f81-bfa3-07980e778e13</node><item-id>item-dea24e70-d74a-4c26-80bd-7b57eb154f94</item-id></data>

2022-06-29 22:47:12 | 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-927134c6-a250-4f81-bfa3-07980e778e13</value></node><item-id label="Item ID" type="text-single"><value>item-dea24e70-d74a-4c26-80bd-7b57eb154f94</value></item-id><item label="Item" type="text-multi"><value><item id="item-dea24e70-d74a-4c26-80bd-7b57eb154f94"><test>item-dea24e70-d74a-4c26-80bd-7b57eb154f94</test></item></value></item></result>

2022-06-29 22:47:12 | [Mutex] notify: [retrieved:item:item-dea24e70-d74a-4c26-80bd-7b57eb154f94:payload-matches:true:localhost]

2022-06-29 22:47:12 | [Mutex] received everything.

2022-06-29 22:47:12 | [Mutex] isItemNotified: retrieved:item:item-dea24e70-d74a-4c26-80bd-7b57eb154f94:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.057s
2022-06-29 22:47:12 |

2022-06-29 22:47:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:12 | ------------------------------------

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

2022-06-29 22:47:12 | 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-927134c6-a250-4f81-bfa3-07980e778e13</value><value>node-c59b6d5d-c8e2-490a-8598-662bc095e33d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-06-29 22:47:12 |

2022-06-29 22:47:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:12 | ------------------------------------

2022-06-29 22:47:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-927134c6-a250-4f81-bfa3-07980e778e13)</node-pattern></data>

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

subscribeNodes 1.124s
2022-06-29 22:47:10 |

2022-06-29 22:47:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:10 | ------------------------------------

2022-06-29 22:47:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-927134c6-a250-4f81-bfa3-07980e778e13</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-29 22:47:10 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.207s
2022-06-29 22:47:12 |

2022-06-29 22:47:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:47:12 | ------------------------------------

2022-06-29 22:47:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-927134c6-a250-4f81-bfa3-07980e778e13</node><jids><value>admin@test-domain.com</value></jids></data>

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