Generated by TestNG with ReportNG at 21:49 PST on Monday 30 November 2020
root@87f6aca6b6f2 / 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.310s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.834s
2020-11-30 22:04:26 |

2020-11-30 22:04:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-30 22:04:26 | ------------------------------------

2020-11-30 22:04:26 | [Mutex] isItemNotified: node_ms48q40203:exists :: false

2020-11-30 22:04:26 | [Mutex] waiting for: [node_ms48q40203:create_node]

2020-11-30 22:04:26 | [Mutex] waiting for: [node_ms48q40203:create_node]

2020-11-30 22:04:26 | [Mutex] received everything.

2020-11-30 22:04:26 | [Mutex] isItemNotified: node_ms48q40203:create_node:success :: true

2020-11-30 22:04:26 | [Mutex] waiting for: [node_ms48q40203:subscribe_node]

2020-11-30 22:04:26 | [Mutex] waiting for: [node_ms48q40203:subscribe_node]

2020-11-30 22:04:26 | [Mutex] received everything.

2020-11-30 22:04:26 | [Mutex] isItemNotified: node_ms48q40203:subscribe_node:success :: true

2020-11-30 22:04:26 |


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


2020-11-30 22:04:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 22:04:26 | command: <data><node>node_ms48q40203</node><entry><content>content_q1y8va0204</content></entry></data>

2020-11-30 22:04:26 | target: http://localhost:8088

2020-11-30 22:04:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-30 22:04:26 | entity: <data><node>node_ms48q40203</node><entry><content>content_q1y8va0204</content></entry></data>

2020-11-30 22:04:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 06:04:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 22:04:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e0c05acc-1962-4cc2-87fc-a081f0f6c7f5</value></item-id></result>

2020-11-30 22:04:26 | contains: true

2020-11-30 22:04:26 | [Mutex] waiting for: [user_regularcnl0820202@test-domain.com:message:received:content_q1y8va0204]

2020-11-30 22:04:26 | [Mutex] received everything.

2020-11-30 22:04:26 | [Mutex] isItemNotified: user_regularcnl0820202@test-domain.com:message:received:content_q1y8va0204 :: true

2020-11-30 22:04:26 |


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


2020-11-30 22:04:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 22:04:26 | command: <data><node>node_ms48q40203</node><expire-at>2020-12-01T06:04:21Z</expire-at><entry><content>content_lh2mxv0205</content></entry></data>

2020-11-30 22:04:26 | target: http://localhost:8088

2020-11-30 22:04:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-30 22:04:26 | entity: <data><node>node_ms48q40203</node><expire-at>2020-12-01T06:04:21Z</expire-at><entry><content>content_lh2mxv0205</content></entry></data>

2020-11-30 22:04:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 06:04:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 22:04:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5f305027-e245-466c-9a40-89703fa04884</value></item-id></result>

2020-11-30 22:04:27 | contains: true

2020-11-30 22:04:27 | [Mutex] waiting for: [user_regularcnl0820202@test-domain.com:message:received:content_lh2mxv0205]

2020-11-30 22:04:42 | [Mutex] timeout. Not received [user_regularcnl0820202@test-domain.com:message:received:content_lh2mxv0205]

2020-11-30 22:04:42 | [Mutex] isItemNotified: user_regularcnl0820202@test-domain.com:message:received:content_lh2mxv0205 :: false

2020-11-30 22:04:42 |


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


2020-11-30 22:04:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 22:04:42 | command: <data><node>node_ms48q40203</node><entry><content>content_7yuw410206</content></entry></data>

2020-11-30 22:04:42 | target: http://localhost:8088

2020-11-30 22:04:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-30 22:04:42 | entity: <data><node>node_ms48q40203</node><entry><content>content_7yuw410206</content></entry></data>

2020-11-30 22:04:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 06:04:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 22:04:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1245f9e8-f18a-4704-b754-d2460e5c7d3c</value></item-id></result>

2020-11-30 22:04:42 | contains: true

2020-11-30 22:04:47 | [Mutex] waiting for: [user_regularcnl0820202@test-domain.com:message:received:content_7yuw410206]

2020-11-30 22:04:47 | [Mutex] received everything.

2020-11-30 22:04:47 | [Mutex] isItemNotified: user_regularcnl0820202@test-domain.com:message:received:content_7yuw410206 :: true

2020-11-30 22:04:47 |


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


2020-11-30 22:04:47 | [Mutex] received everything.

2020-11-30 22:04:47 | [Mutex] isItemNotified: node_ms48q40203:subscribe_node:success :: true

2020-11-30 22:04:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 22:04:47 | command: <data><node>node_ms48q40203</node><expire-at>2020-12-01T06:04:52Z</expire-at><entry><content>content_u4yt1d0207</content></entry></data>

2020-11-30 22:04:47 | target: http://localhost:8088

2020-11-30 22:04:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-30 22:04:47 | entity: <data><node>node_ms48q40203</node><expire-at>2020-12-01T06:04:52Z</expire-at><entry><content>content_u4yt1d0207</content></entry></data>

2020-11-30 22:04:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 06:04:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 22:04:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1ed7de96-c170-4d0d-91e5-f745ea00fddb</value></item-id></result>

2020-11-30 22:04:47 | contains: true

2020-11-30 22:04:55 | [Mutex] waiting for: [user_regularcnl0820202@test-domain.com:message:received:content_u4yt1d0207]

2020-11-30 22:05:10 | [Mutex] timeout. Not received [user_regularcnl0820202@test-domain.com:message:received:content_u4yt1d0207]

2020-11-30 22:05:10 | [Mutex] received everything.

2020-11-30 22:05:10 | [Mutex] isItemNotified: user_regularcnl0820202@test-domain.com:message:received:content_u4yt1d0207 :: false

2020-11-30 22:05:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u4yt1d0207 :: true