Generated by TestNG with ReportNG at 21:30 PST on Wednesday 23 February 2022
root@b2c2a8eba6e6 / 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.547s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.708s
2022-02-23 21:46:36 |

2022-02-23 21:46:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-23 21:46:36 | ------------------------------------

2022-02-23 21:46:36 | [Mutex] isItemNotified: node_84btj00203:exists :: false

2022-02-23 21:46:36 | [Mutex] waiting for: [node_84btj00203:create_node]

2022-02-23 21:46:36 | [Mutex] received everything.

2022-02-23 21:46:36 | [Mutex] isItemNotified: node_84btj00203:create_node:success :: true

2022-02-23 21:46:36 | [Mutex] waiting for: [node_84btj00203:subscribe_node]

2022-02-23 21:46:36 | [Mutex] waiting for: [node_84btj00203:subscribe_node]

2022-02-23 21:46:36 | [Mutex] received everything.

2022-02-23 21:46:36 | [Mutex] isItemNotified: node_84btj00203:subscribe_node:success :: true

2022-02-23 21:46:36 |


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


2022-02-23 21:46:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 21:46:36 | command: <data><node>node_84btj00203</node><entry><content>content_rk15tf0204</content></entry></data>

2022-02-23 21:46:36 | target: http://localhost:8088

2022-02-23 21:46:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-23 21:46:36 | entity: <data><node>node_84btj00203</node><entry><content>content_rk15tf0204</content></entry></data>

2022-02-23 21:46:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:46:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 21:46:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>906760dd-2959-45ad-8c80-a14eeeb09507</value></item-id></result>

2022-02-23 21:46:36 | contains: true

2022-02-23 21:46:36 | [Mutex] received everything.

2022-02-23 21:46:36 | [Mutex] isItemNotified: user_regulargp1ayt0202@test-domain.com:message:received:content_rk15tf0204 :: true

2022-02-23 21:46:36 |


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


2022-02-23 21:46:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 21:46:36 | command: <data><node>node_84btj00203</node><expire-at>2022-02-24T05:46:31Z</expire-at><entry><content>content_3qdtvx0205</content></entry></data>

2022-02-23 21:46:36 | target: http://localhost:8088

2022-02-23 21:46:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-23 21:46:36 | entity: <data><node>node_84btj00203</node><expire-at>2022-02-24T05:46:31Z</expire-at><entry><content>content_3qdtvx0205</content></entry></data>

2022-02-23 21:46:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:46:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 21:46:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9484b774-ca61-4a8e-badf-1fd01bbeb568</value></item-id></result>

2022-02-23 21:46:36 | contains: true

2022-02-23 21:46:36 | [Mutex] waiting for: [user_regulargp1ayt0202@test-domain.com:message:received:content_3qdtvx0205]

2022-02-23 21:46:51 | [Mutex] timeout. Not received [user_regulargp1ayt0202@test-domain.com:message:received:content_3qdtvx0205]

2022-02-23 21:46:51 | [Mutex] isItemNotified: user_regulargp1ayt0202@test-domain.com:message:received:content_3qdtvx0205 :: false

2022-02-23 21:46:51 |


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


2022-02-23 21:46:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 21:46:51 | command: <data><node>node_84btj00203</node><entry><content>content_u7nb1u0206</content></entry></data>

2022-02-23 21:46:51 | target: http://localhost:8088

2022-02-23 21:46:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-23 21:46:51 | entity: <data><node>node_84btj00203</node><entry><content>content_u7nb1u0206</content></entry></data>

2022-02-23 21:46:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:46:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 21:46:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>05781dd2-292a-4a54-8573-382a127b34a2</value></item-id></result>

2022-02-23 21:46:51 | contains: true

2022-02-23 21:46:56 | [Mutex] waiting for: [user_regulargp1ayt0202@test-domain.com:message:received:content_u7nb1u0206]

2022-02-23 21:46:56 | [Mutex] received everything.

2022-02-23 21:46:56 | [Mutex] isItemNotified: user_regulargp1ayt0202@test-domain.com:message:received:content_u7nb1u0206 :: true

2022-02-23 21:46:56 |


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


2022-02-23 21:46:56 | [Mutex] received everything.

2022-02-23 21:46:56 | [Mutex] isItemNotified: node_84btj00203:subscribe_node:success :: true

2022-02-23 21:46:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 21:46:56 | command: <data><node>node_84btj00203</node><expire-at>2022-02-24T05:47:01Z</expire-at><entry><content>content_90khm50207</content></entry></data>

2022-02-23 21:46:56 | target: http://localhost:8088

2022-02-23 21:46:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-23 21:46:56 | entity: <data><node>node_84btj00203</node><expire-at>2022-02-24T05:47:01Z</expire-at><entry><content>content_90khm50207</content></entry></data>

2022-02-23 21:46:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:46:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 21:46:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>65324231-3de0-4e84-8ad3-132952ccc520</value></item-id></result>

2022-02-23 21:46:56 | contains: true

2022-02-23 21:47:04 | [Mutex] waiting for: [user_regulargp1ayt0202@test-domain.com:message:received:content_90khm50207]

2022-02-23 21:47:04 | [Mutex] waiting for: [user_regulargp1ayt0202@test-domain.com:message:received:content_90khm50207]

2022-02-23 21:47:19 | [Mutex] timeout. Not received [user_regulargp1ayt0202@test-domain.com:message:received:content_90khm50207]

2022-02-23 21:47:19 | [Mutex] received everything.

2022-02-23 21:47:19 | [Mutex] isItemNotified: user_regulargp1ayt0202@test-domain.com:message:received:content_90khm50207 :: false

2022-02-23 21:47:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_90khm50207 :: true