Generated by TestNG with ReportNG at 22:42 PDT on Wednesday 17 March 2021
root@43fec6d4badf / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.212s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.629s
2021-03-17 22:58:26 |

2021-03-17 22:58:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-17 22:58:26 | ------------------------------------

2021-03-17 22:58:26 | [Mutex] isItemNotified: node_qq2c590203:exists :: false

2021-03-17 22:58:26 | [Mutex] waiting for: [node_qq2c590203:create_node]

2021-03-17 22:58:26 | [Mutex] received everything.

2021-03-17 22:58:26 | [Mutex] isItemNotified: node_qq2c590203:create_node:success :: true

2021-03-17 22:58:26 | [Mutex] waiting for: [node_qq2c590203:subscribe_node]

2021-03-17 22:58:26 | [Mutex] waiting for: [node_qq2c590203:subscribe_node]

2021-03-17 22:58:26 | [Mutex] received everything.

2021-03-17 22:58:26 | [Mutex] isItemNotified: node_qq2c590203:subscribe_node:success :: true

2021-03-17 22:58:26 |


===== publishing normal message (to online)


2021-03-17 22:58:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-17 22:58:26 | command: <data><node>node_qq2c590203</node><entry><content>content_ylkydw0204</content></entry></data>

2021-03-17 22:58:26 | target: http://localhost:8088

2021-03-17 22:58:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-17 22:58:26 | entity: <data><node>node_qq2c590203</node><entry><content>content_ylkydw0204</content></entry></data>

2021-03-17 22:58:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:58:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-17 22:58:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cde3ca6d-6ea5-4f67-9c66-cc795ed7cadc</value></item-id></result>

2021-03-17 22:58:26 | contains: true

2021-03-17 22:58:26 | [Mutex] waiting for: [user_regularyighgn0202@test-domain.com:message:received:content_ylkydw0204]

2021-03-17 22:58:26 | [Mutex] received everything.

2021-03-17 22:58:26 | [Mutex] isItemNotified: user_regularyighgn0202@test-domain.com:message:received:content_ylkydw0204 :: true

2021-03-17 22:58:26 |


===== publishing already old message - expecting message being filtered out (to online)


2021-03-17 22:58:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-17 22:58:26 | command: <data><node>node_qq2c590203</node><expire-at>2021-03-18T05:58:21Z</expire-at><entry><content>content_kvn1j10205</content></entry></data>

2021-03-17 22:58:26 | target: http://localhost:8088

2021-03-17 22:58:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-17 22:58:26 | entity: <data><node>node_qq2c590203</node><expire-at>2021-03-18T05:58:21Z</expire-at><entry><content>content_kvn1j10205</content></entry></data>

2021-03-17 22:58:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:58:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-17 22:58:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>78dfe320-7195-4cd7-b0fb-6b2ecc99f009</value></item-id></result>

2021-03-17 22:58:26 | contains: true

2021-03-17 22:58:26 | [Mutex] waiting for: [user_regularyighgn0202@test-domain.com:message:received:content_kvn1j10205]

2021-03-17 22:58:41 | [Mutex] timeout. Not received [user_regularyighgn0202@test-domain.com:message:received:content_kvn1j10205]

2021-03-17 22:58:41 | [Mutex] isItemNotified: user_regularyighgn0202@test-domain.com:message:received:content_kvn1j10205 :: false

2021-03-17 22:58:41 |


===== publishing normal message (to offline)


2021-03-17 22:58:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-17 22:58:41 | command: <data><node>node_qq2c590203</node><entry><content>content_pkkmer0206</content></entry></data>

2021-03-17 22:58:41 | target: http://localhost:8088

2021-03-17 22:58:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-17 22:58:41 | entity: <data><node>node_qq2c590203</node><entry><content>content_pkkmer0206</content></entry></data>

2021-03-17 22:58:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:58:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-17 22:58:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e66b791a-373b-4f58-8d05-5c85f4fbe67a</value></item-id></result>

2021-03-17 22:58:41 | contains: true

2021-03-17 22:58:46 | [Mutex] waiting for: [user_regularyighgn0202@test-domain.com:message:received:content_pkkmer0206]

2021-03-17 22:58:46 | [Mutex] waiting for: [user_regularyighgn0202@test-domain.com:message:received:content_pkkmer0206]

2021-03-17 22:58:46 | [Mutex] received everything.

2021-03-17 22:58:46 | [Mutex] isItemNotified: user_regularyighgn0202@test-domain.com:message:received:content_pkkmer0206 :: true

2021-03-17 22:58:46 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-03-17 22:58:46 | [Mutex] received everything.

2021-03-17 22:58:46 | [Mutex] isItemNotified: node_qq2c590203:subscribe_node:success :: true

2021-03-17 22:58:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-17 22:58:46 | command: <data><node>node_qq2c590203</node><expire-at>2021-03-18T05:58:51Z</expire-at><entry><content>content_a367gk0207</content></entry></data>

2021-03-17 22:58:46 | target: http://localhost:8088

2021-03-17 22:58:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-17 22:58:46 | entity: <data><node>node_qq2c590203</node><expire-at>2021-03-18T05:58:51Z</expire-at><entry><content>content_a367gk0207</content></entry></data>

2021-03-17 22:58:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:58:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-17 22:58:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d651af40-1be8-498b-a52c-01140365aae6</value></item-id></result>

2021-03-17 22:58:46 | contains: true

2021-03-17 22:58:54 | [Mutex] waiting for: [user_regularyighgn0202@test-domain.com:message:received:content_a367gk0207]

2021-03-17 22:59:09 | [Mutex] timeout. Not received [user_regularyighgn0202@test-domain.com:message:received:content_a367gk0207]

2021-03-17 22:59:09 | [Mutex] received everything.

2021-03-17 22:59:09 | [Mutex] isItemNotified: user_regularyighgn0202@test-domain.com:message:received:content_a367gk0207 :: false

2021-03-17 22:59:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_a367gk0207 :: true