Generated by TestNG with ReportNG at 07:50 PST on Monday 06 March 2023
root@ed1b7dd8a1b3 / 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.306s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.074s
2023-03-06 08:04:57 |

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

2023-03-06 08:04:57 | ------------------------------------

2023-03-06 08:04:57 | [Mutex] waiting for: [configured:node:node-9862ebec-5a6c-40ae-b8e7-7e581d50e167:node-a5992f3a-c3eb-4949-a15f-581ddbb740e1]

2023-03-06 08:04:57 | [Mutex] received everything.

2023-03-06 08:04:57 | [Mutex] isItemNotified: configured:node:node-9862ebec-5a6c-40ae-b8e7-7e581d50e167:node-a5992f3a-c3eb-4949-a15f-581ddbb740e1 :: true

2023-03-06 08:04:58 | [Mutex] waiting for: [received:nodes:9e0d3d39-82ea-47a0-8715-3629349ed52c:localhost]

2023-03-06 08:04:58 | [Mutex] received everything.

2023-03-06 08:04:58 | [Mutex] isItemNotified: received:node:9e0d3d39-82ea-47a0-8715-3629349ed52c:localhost:node-9862ebec-5a6c-40ae-b8e7-7e581d50e167:Node 9862ebec-5a6c-40ae-b8e7-7e581d50e167 :: true

2023-03-06 08:04:58 | [Mutex] waiting for: [received:nodes:139391dd-94e0-4c8d-aece-54c4ce8a0d8a:localhost]

2023-03-06 08:04:58 | [Mutex] waiting for: [received:nodes:139391dd-94e0-4c8d-aece-54c4ce8a0d8a:localhost]

2023-03-06 08:04:58 | [Mutex] waiting for: [received:nodes:139391dd-94e0-4c8d-aece-54c4ce8a0d8a:localhost]

2023-03-06 08:04:58 | [Mutex] received everything.

2023-03-06 08:04:58 | [Mutex] isItemNotified: received:node:139391dd-94e0-4c8d-aece-54c4ce8a0d8a:localhost:node-9862ebec-5a6c-40ae-b8e7-7e581d50e167:Node 9862ebec-5a6c-40ae-b8e7-7e581d50e167 :: false

createNodes 1.383s
2023-03-06 08:04:55 |

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

2023-03-06 08:04:55 | ------------------------------------

2023-03-06 08:04:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9862ebec-5a6c-40ae-b8e7-7e581d50e167</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9862ebec-5a6c-40ae-b8e7-7e581d50e167</title></pubsub></data>

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

2023-03-06 08:04:56 | [Mutex] waiting for: [received:nodes:8828db7c-36d8-4f86-99b7-e2afd9e3da58:localhost]

2023-03-06 08:04:56 | [Mutex] waiting for: [received:nodes:8828db7c-36d8-4f86-99b7-e2afd9e3da58:localhost]

2023-03-06 08:04:56 | [Mutex] waiting for: [received:nodes:8828db7c-36d8-4f86-99b7-e2afd9e3da58:localhost]

2023-03-06 08:04:56 | [Mutex] received everything.

2023-03-06 08:04:56 | [Mutex] isItemNotified: received:node:8828db7c-36d8-4f86-99b7-e2afd9e3da58:localhost:node-9862ebec-5a6c-40ae-b8e7-7e581d50e167:Node 9862ebec-5a6c-40ae-b8e7-7e581d50e167 :: true

createSubnodes 1.022s
2023-03-06 08:04:56 |

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

2023-03-06 08:04:56 | ------------------------------------

2023-03-06 08:04:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a5992f3a-c3eb-4949-a15f-581ddbb740e1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a5992f3a-c3eb-4949-a15f-581ddbb740e1</title></pubsub></data>

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

2023-03-06 08:04:57 | [Mutex] waiting for: [received:nodes:67211b09-a6e4-457b-bc98-829d482b6d78:localhost]

2023-03-06 08:04:57 | [Mutex] waiting for: [received:nodes:67211b09-a6e4-457b-bc98-829d482b6d78:localhost]

2023-03-06 08:04:57 | [Mutex] waiting for: [received:nodes:67211b09-a6e4-457b-bc98-829d482b6d78:localhost]

2023-03-06 08:04:57 | [Mutex] received everything.

2023-03-06 08:04:57 | [Mutex] isItemNotified: received:node:67211b09-a6e4-457b-bc98-829d482b6d78:localhost:node-a5992f3a-c3eb-4949-a15f-581ddbb740e1:Node a5992f3a-c3eb-4949-a15f-581ddbb740e1 :: true

deleteNodes 1.023s
2023-03-06 08:05:03 |

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

2023-03-06 08:05:03 | ------------------------------------

2023-03-06 08:05:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a5992f3a-c3eb-4949-a15f-581ddbb740e1</node></data>

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

2023-03-06 08:05:04 | [Mutex] waiting for: [received:nodes:6e1c1746-69b2-40b3-b0c1-852bf2faf8c0:localhost]

2023-03-06 08:05:04 | [Mutex] waiting for: [received:nodes:6e1c1746-69b2-40b3-b0c1-852bf2faf8c0:localhost]

2023-03-06 08:05:04 | [Mutex] waiting for: [received:nodes:6e1c1746-69b2-40b3-b0c1-852bf2faf8c0:localhost]

2023-03-06 08:05:04 | [Mutex] received everything.

2023-03-06 08:05:04 | [Mutex] isItemNotified: received:node:6e1c1746-69b2-40b3-b0c1-852bf2faf8c0:localhost:node-a5992f3a-c3eb-4949-a15f-581ddbb740e1:Node a5992f3a-c3eb-4949-a15f-581ddbb740e1 :: false

deleteSubnodes 1.115s
2023-03-06 08:05:02 |

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

2023-03-06 08:05:02 | ------------------------------------

2023-03-06 08:05:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9862ebec-5a6c-40ae-b8e7-7e581d50e167</node></data>

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

2023-03-06 08:05:03 | [Mutex] waiting for: [received:nodes:83bda13e-24fe-4978-a5c6-8dd0f9d1f127:localhost]

2023-03-06 08:05:03 | [Mutex] waiting for: [received:nodes:83bda13e-24fe-4978-a5c6-8dd0f9d1f127:localhost]

2023-03-06 08:05:03 | [Mutex] waiting for: [received:nodes:83bda13e-24fe-4978-a5c6-8dd0f9d1f127:localhost]

2023-03-06 08:05:03 | [Mutex] waiting for: [received:nodes:83bda13e-24fe-4978-a5c6-8dd0f9d1f127:localhost]

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

2023-03-06 08:05:03 | [Mutex] isItemNotified: received:node:83bda13e-24fe-4978-a5c6-8dd0f9d1f127:localhost:node-9862ebec-5a6c-40ae-b8e7-7e581d50e167:Node 9862ebec-5a6c-40ae-b8e7-7e581d50e167 :: false

2023-03-06 08:05:03 | [Mutex] waiting for: [received:nodes:c1b1a71b-ba7b-460c-bb51-512702ef8010:localhost]

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

2023-03-06 08:05:03 | [Mutex] isItemNotified: received:node:c1b1a71b-ba7b-460c-bb51-512702ef8010:localhost:node-9862ebec-5a6c-40ae-b8e7-7e581d50e167:Node 9862ebec-5a6c-40ae-b8e7-7e581d50e167 :: false

publishItemsToNodes 0.182s
2023-03-06 08:05:00 |

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

2023-03-06 08:05:00 | ------------------------------------

2023-03-06 08:05:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9862ebec-5a6c-40ae-b8e7-7e581d50e167</node><item-id>item-07187373-a2fb-42a1-b0da-66db9248965e</item-id><entry><test>item-07187373-a2fb-42a1-b0da-66db9248965e</test></entry></data>

2023-03-06 08:05:00 | 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-07187373-a2fb-42a1-b0da-66db9248965e</value></item-id></result>

2023-03-06 08:05:00 | [Mutex] received everything.

2023-03-06 08:05:00 | [Mutex] isItemNotified: published:item:notifieditem-07187373-a2fb-42a1-b0da-66db9248965e:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2023-03-06 08:05:00 |

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

2023-03-06 08:05:00 | ------------------------------------

2023-03-06 08:05:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9862ebec-5a6c-40ae-b8e7-7e581d50e167</node><item-id>item-07187373-a2fb-42a1-b0da-66db9248965e</item-id></data>

2023-03-06 08:05:00 | 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-07187373-a2fb-42a1-b0da-66db9248965e</value></item-id></result>

2023-03-06 08:05:00 | [Mutex] received everything.

2023-03-06 08:05:00 | [Mutex] isItemNotified: retracted:item:notifieditem-07187373-a2fb-42a1-b0da-66db9248965e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.232s
2023-03-06 08:05:00 |

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

2023-03-06 08:05:00 | ------------------------------------

2023-03-06 08:05:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9862ebec-5a6c-40ae-b8e7-7e581d50e167</node><item-id>item-07187373-a2fb-42a1-b0da-66db9248965e</item-id></data>

2023-03-06 08:05:00 | 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-9862ebec-5a6c-40ae-b8e7-7e581d50e167</value></node><item-id type="text-single" label="Item ID"><value>item-07187373-a2fb-42a1-b0da-66db9248965e</value></item-id><item type="text-multi" label="Item"><value><item id="item-07187373-a2fb-42a1-b0da-66db9248965e"><test>item-07187373-a2fb-42a1-b0da-66db9248965e</test></item></value></item></result>

2023-03-06 08:05:00 | [Mutex] notify: [retrieved:item:item-07187373-a2fb-42a1-b0da-66db9248965e:payload-matches:true:localhost]

2023-03-06 08:05:00 | [Mutex] received everything.

2023-03-06 08:05:00 | [Mutex] isItemNotified: retrieved:item:item-07187373-a2fb-42a1-b0da-66db9248965e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-06 08:05:00 |

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

2023-03-06 08:05:00 | ------------------------------------

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

2023-03-06 08:05:00 | 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-9862ebec-5a6c-40ae-b8e7-7e581d50e167</value><value>node-a5992f3a-c3eb-4949-a15f-581ddbb740e1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-06 08:05:00 |

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

2023-03-06 08:05:00 | ------------------------------------

2023-03-06 08:05:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9862ebec-5a6c-40ae-b8e7-7e581d50e167)</node-pattern></data>

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

subscribeNodes 1.128s
2023-03-06 08:04:58 |

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

2023-03-06 08:04:58 | ------------------------------------

2023-03-06 08:04:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9862ebec-5a6c-40ae-b8e7-7e581d50e167</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.231s
2023-03-06 08:05:00 |

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

2023-03-06 08:05:00 | ------------------------------------

2023-03-06 08:05:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9862ebec-5a6c-40ae-b8e7-7e581d50e167</node><jids><value>admin@test-domain.com</value></jids></data>

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