Generated by TestNG with ReportNG at 13:20 PDT on Monday 10 July 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.334s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2023-07-10 13:34:53 |

2023-07-10 13:34:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:53 | ------------------------------------

2023-07-10 13:34:53 | [Mutex] waiting for: [configured:node:node-682350ca-d3b5-45ad-b558-14c832b7ccdf:node-25013f33-2910-4e55-a616-9385fe481055]

2023-07-10 13:34:53 | [Mutex] received everything.

2023-07-10 13:34:53 | [Mutex] isItemNotified: configured:node:node-682350ca-d3b5-45ad-b558-14c832b7ccdf:node-25013f33-2910-4e55-a616-9385fe481055 :: true

2023-07-10 13:34:54 | [Mutex] waiting for: [received:nodes:bcb212df-218e-4fe2-800b-7002d7869a6c:localhost]

2023-07-10 13:34:54 | [Mutex] received everything.

2023-07-10 13:34:54 | [Mutex] isItemNotified: received:node:bcb212df-218e-4fe2-800b-7002d7869a6c:localhost:node-682350ca-d3b5-45ad-b558-14c832b7ccdf:Node 682350ca-d3b5-45ad-b558-14c832b7ccdf :: true

2023-07-10 13:34:54 | [Mutex] waiting for: [received:nodes:f0d043da-805c-4602-a66d-4adc698b9297:localhost]

2023-07-10 13:34:54 | [Mutex] waiting for: [received:nodes:f0d043da-805c-4602-a66d-4adc698b9297:localhost]

2023-07-10 13:34:54 | [Mutex] waiting for: [received:nodes:f0d043da-805c-4602-a66d-4adc698b9297:localhost]

2023-07-10 13:34:54 | [Mutex] waiting for: [received:nodes:f0d043da-805c-4602-a66d-4adc698b9297:localhost]

2023-07-10 13:34:54 | [Mutex] received everything.

2023-07-10 13:34:54 | [Mutex] isItemNotified: received:node:f0d043da-805c-4602-a66d-4adc698b9297:localhost:node-682350ca-d3b5-45ad-b558-14c832b7ccdf:Node 682350ca-d3b5-45ad-b558-14c832b7ccdf :: false

createNodes 1.361s
2023-07-10 13:34:50 |

2023-07-10 13:34:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:50 | ------------------------------------

2023-07-10 13:34:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-682350ca-d3b5-45ad-b558-14c832b7ccdf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 682350ca-d3b5-45ad-b558-14c832b7ccdf</title></pubsub></data>

2023-07-10 13:34:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-10 13:34:52 | [Mutex] waiting for: [received:nodes:61379ff8-6253-4f45-8ff7-9bede46a86dc:localhost]

2023-07-10 13:34:52 | [Mutex] waiting for: [received:nodes:61379ff8-6253-4f45-8ff7-9bede46a86dc:localhost]

2023-07-10 13:34:52 | [Mutex] waiting for: [received:nodes:61379ff8-6253-4f45-8ff7-9bede46a86dc:localhost]

2023-07-10 13:34:52 | [Mutex] received everything.

2023-07-10 13:34:52 | [Mutex] isItemNotified: received:node:61379ff8-6253-4f45-8ff7-9bede46a86dc:localhost:node-682350ca-d3b5-45ad-b558-14c832b7ccdf:Node 682350ca-d3b5-45ad-b558-14c832b7ccdf :: true

createSubnodes 1.023s
2023-07-10 13:34:52 |

2023-07-10 13:34:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:52 | ------------------------------------

2023-07-10 13:34:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-25013f33-2910-4e55-a616-9385fe481055</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 25013f33-2910-4e55-a616-9385fe481055</title></pubsub></data>

2023-07-10 13:34:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-10 13:34:53 | [Mutex] waiting for: [received:nodes:83d7b815-6d81-445a-ae31-ce63d1c3b110:localhost]

2023-07-10 13:34:53 | [Mutex] waiting for: [received:nodes:83d7b815-6d81-445a-ae31-ce63d1c3b110:localhost]

2023-07-10 13:34:53 | [Mutex] waiting for: [received:nodes:83d7b815-6d81-445a-ae31-ce63d1c3b110:localhost]

2023-07-10 13:34:53 | [Mutex] waiting for: [received:nodes:83d7b815-6d81-445a-ae31-ce63d1c3b110:localhost]

2023-07-10 13:34:53 | [Mutex] received everything.

2023-07-10 13:34:53 | [Mutex] isItemNotified: received:node:83d7b815-6d81-445a-ae31-ce63d1c3b110:localhost:node-25013f33-2910-4e55-a616-9385fe481055:Node 25013f33-2910-4e55-a616-9385fe481055 :: true

deleteNodes 1.019s
2023-07-10 13:34:58 |

2023-07-10 13:34:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:58 | ------------------------------------

2023-07-10 13:34:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-25013f33-2910-4e55-a616-9385fe481055</node></data>

2023-07-10 13:34:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-10 13:34:59 | [Mutex] waiting for: [received:nodes:955e21de-4b18-4cc9-b124-0a7072e5ff78:localhost]

2023-07-10 13:34:59 | [Mutex] waiting for: [received:nodes:955e21de-4b18-4cc9-b124-0a7072e5ff78:localhost]

2023-07-10 13:34:59 | [Mutex] waiting for: [received:nodes:955e21de-4b18-4cc9-b124-0a7072e5ff78:localhost]

2023-07-10 13:34:59 | [Mutex] received everything.

2023-07-10 13:34:59 | [Mutex] isItemNotified: received:node:955e21de-4b18-4cc9-b124-0a7072e5ff78:localhost:node-25013f33-2910-4e55-a616-9385fe481055:Node 25013f33-2910-4e55-a616-9385fe481055 :: false

deleteSubnodes 1.107s
2023-07-10 13:34:57 |

2023-07-10 13:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:57 | ------------------------------------

2023-07-10 13:34:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-682350ca-d3b5-45ad-b558-14c832b7ccdf</node></data>

2023-07-10 13:34:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-10 13:34:58 | [Mutex] waiting for: [received:nodes:61665350-c8fb-4d9d-8ece-e333108318e2:localhost]

2023-07-10 13:34:58 | [Mutex] waiting for: [received:nodes:61665350-c8fb-4d9d-8ece-e333108318e2:localhost]

2023-07-10 13:34:58 | [Mutex] waiting for: [received:nodes:61665350-c8fb-4d9d-8ece-e333108318e2:localhost]

2023-07-10 13:34:58 | [Mutex] waiting for: [received:nodes:61665350-c8fb-4d9d-8ece-e333108318e2:localhost]

2023-07-10 13:34:58 | [Mutex] received everything.

2023-07-10 13:34:58 | [Mutex] isItemNotified: received:node:61665350-c8fb-4d9d-8ece-e333108318e2:localhost:node-682350ca-d3b5-45ad-b558-14c832b7ccdf:Node 682350ca-d3b5-45ad-b558-14c832b7ccdf :: false

2023-07-10 13:34:58 | [Mutex] waiting for: [received:nodes:3c411f88-75e5-45d0-8245-2a222df958a3:localhost]

2023-07-10 13:34:58 | [Mutex] received everything.

2023-07-10 13:34:58 | [Mutex] isItemNotified: received:node:3c411f88-75e5-45d0-8245-2a222df958a3:localhost:node-682350ca-d3b5-45ad-b558-14c832b7ccdf:Node 682350ca-d3b5-45ad-b558-14c832b7ccdf :: false

publishItemsToNodes 0.241s
2023-07-10 13:34:55 |

2023-07-10 13:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:55 | ------------------------------------

2023-07-10 13:34:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-682350ca-d3b5-45ad-b558-14c832b7ccdf</node><item-id>item-de39eda6-42f6-4cca-af4b-59624e073579</item-id><entry><test>item-de39eda6-42f6-4cca-af4b-59624e073579</test></entry></data>

2023-07-10 13:34:55 | 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-de39eda6-42f6-4cca-af4b-59624e073579</value></item-id></result>

2023-07-10 13:34:55 | [Mutex] waiting for: [published:item:notifieditem-de39eda6-42f6-4cca-af4b-59624e073579:admin@test-domain.com]

2023-07-10 13:34:55 | [Mutex] received everything.

2023-07-10 13:34:55 | [Mutex] isItemNotified: published:item:notifieditem-de39eda6-42f6-4cca-af4b-59624e073579:admin@test-domain.com :: true

retractItemsFromNodes 0.248s
2023-07-10 13:34:56 |

2023-07-10 13:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:56 | ------------------------------------

2023-07-10 13:34:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-682350ca-d3b5-45ad-b558-14c832b7ccdf</node><item-id>item-de39eda6-42f6-4cca-af4b-59624e073579</item-id></data>

2023-07-10 13:34:56 | 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-de39eda6-42f6-4cca-af4b-59624e073579</value></item-id></result>

2023-07-10 13:34:56 | [Mutex] received everything.

2023-07-10 13:34:56 | [Mutex] isItemNotified: retracted:item:notifieditem-de39eda6-42f6-4cca-af4b-59624e073579:admin@test-domain.com :: true

retrieveItemsFromNodes 0.180s
2023-07-10 13:34:55 |

2023-07-10 13:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:55 | ------------------------------------

2023-07-10 13:34:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-682350ca-d3b5-45ad-b558-14c832b7ccdf</node><item-id>item-de39eda6-42f6-4cca-af4b-59624e073579</item-id></data>

2023-07-10 13:34:55 | 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-682350ca-d3b5-45ad-b558-14c832b7ccdf</value></node><item-id label="Item ID" type="text-single"><value>item-de39eda6-42f6-4cca-af4b-59624e073579</value></item-id><item label="Item" type="text-multi"><value><item id="item-de39eda6-42f6-4cca-af4b-59624e073579"><test>item-de39eda6-42f6-4cca-af4b-59624e073579</test></item></value></item></result>

2023-07-10 13:34:55 | [Mutex] notify: [retrieved:item:item-de39eda6-42f6-4cca-af4b-59624e073579:payload-matches:true:localhost]

2023-07-10 13:34:55 | [Mutex] received everything.

2023-07-10 13:34:55 | [Mutex] isItemNotified: retrieved:item:item-de39eda6-42f6-4cca-af4b-59624e073579:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-07-10 13:34:56 |

2023-07-10 13:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:56 | ------------------------------------

2023-07-10 13:34:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-10 13:34:56 | 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-682350ca-d3b5-45ad-b558-14c832b7ccdf</value><value>node-25013f33-2910-4e55-a616-9385fe481055</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-10 13:34:56 |

2023-07-10 13:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:56 | ------------------------------------

2023-07-10 13:34:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-682350ca-d3b5-45ad-b558-14c832b7ccdf)</node-pattern></data>

2023-07-10 13:34:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.120s
2023-07-10 13:34:54 |

2023-07-10 13:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:54 | ------------------------------------

2023-07-10 13:34:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-682350ca-d3b5-45ad-b558-14c832b7ccdf</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-10 13:34:54 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.208s
2023-07-10 13:34:56 |

2023-07-10 13:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-10 13:34:56 | ------------------------------------

2023-07-10 13:34:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-682350ca-d3b5-45ad-b558-14c832b7ccdf</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-10 13:34:56 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>