Generated by TestNG with ReportNG at 21:17 PST on Wednesday 23 February 2022
root@785cf647a4ab / 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.294s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.715s
2022-02-23 21:33:32 |

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

2022-02-23 21:33:32 | ------------------------------------

2022-02-23 21:33:32 | [Mutex] isItemNotified: node_yf04ro0203:exists :: false

2022-02-23 21:33:32 | [Mutex] waiting for: [node_yf04ro0203:create_node]

2022-02-23 21:33:32 | [Mutex] received everything.

2022-02-23 21:33:32 | [Mutex] isItemNotified: node_yf04ro0203:create_node:success :: true

2022-02-23 21:33:32 | [Mutex] waiting for: [node_yf04ro0203:subscribe_node]

2022-02-23 21:33:32 | [Mutex] received everything.

2022-02-23 21:33:32 | [Mutex] isItemNotified: node_yf04ro0203:subscribe_node:success :: true

2022-02-23 21:33:32 |


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


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

2022-02-23 21:33:32 | command: <data><node>node_yf04ro0203</node><entry><content>content_5xsak80204</content></entry></data>

2022-02-23 21:33:32 | target: http://localhost:8088

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

2022-02-23 21:33:32 | entity: <data><node>node_yf04ro0203</node><entry><content>content_5xsak80204</content></entry></data>

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

2022-02-23 21:33:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e44dc58c-7524-418d-81b7-dbb0721a8a46</value></item-id></result>

2022-02-23 21:33:32 | contains: true

2022-02-23 21:33:32 | [Mutex] received everything.

2022-02-23 21:33:32 | [Mutex] isItemNotified: user_regular90jdhb0202@test-domain.com:message:received:content_5xsak80204 :: true

2022-02-23 21:33:32 |


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


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

2022-02-23 21:33:32 | command: <data><node>node_yf04ro0203</node><expire-at>2022-02-24T05:33:27Z</expire-at><entry><content>content_limvo20205</content></entry></data>

2022-02-23 21:33:32 | target: http://localhost:8088

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

2022-02-23 21:33:32 | entity: <data><node>node_yf04ro0203</node><expire-at>2022-02-24T05:33:27Z</expire-at><entry><content>content_limvo20205</content></entry></data>

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

2022-02-23 21:33:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1ca908ec-80df-482d-b922-9fb00ff1078a</value></item-id></result>

2022-02-23 21:33:32 | contains: true

2022-02-23 21:33:32 | [Mutex] waiting for: [user_regular90jdhb0202@test-domain.com:message:received:content_limvo20205]

2022-02-23 21:33:47 | [Mutex] timeout. Not received [user_regular90jdhb0202@test-domain.com:message:received:content_limvo20205]

2022-02-23 21:33:47 | [Mutex] isItemNotified: user_regular90jdhb0202@test-domain.com:message:received:content_limvo20205 :: false

2022-02-23 21:33:47 |


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


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

2022-02-23 21:33:47 | command: <data><node>node_yf04ro0203</node><entry><content>content_h0gflk0206</content></entry></data>

2022-02-23 21:33:47 | target: http://localhost:8088

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

2022-02-23 21:33:47 | entity: <data><node>node_yf04ro0203</node><entry><content>content_h0gflk0206</content></entry></data>

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

2022-02-23 21:33:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6f3ba3ee-7c54-497b-90c3-ff92a58661b0</value></item-id></result>

2022-02-23 21:33:47 | contains: true

2022-02-23 21:33:52 | [Mutex] waiting for: [user_regular90jdhb0202@test-domain.com:message:received:content_h0gflk0206]

2022-02-23 21:33:52 | [Mutex] received everything.

2022-02-23 21:33:52 | [Mutex] isItemNotified: user_regular90jdhb0202@test-domain.com:message:received:content_h0gflk0206 :: true

2022-02-23 21:33:52 |


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


2022-02-23 21:33:52 | [Mutex] received everything.

2022-02-23 21:33:52 | [Mutex] isItemNotified: node_yf04ro0203:subscribe_node:success :: true

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

2022-02-23 21:33:52 | command: <data><node>node_yf04ro0203</node><expire-at>2022-02-24T05:33:57Z</expire-at><entry><content>content_yh81p20207</content></entry></data>

2022-02-23 21:33:52 | target: http://localhost:8088

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

2022-02-23 21:33:52 | entity: <data><node>node_yf04ro0203</node><expire-at>2022-02-24T05:33:57Z</expire-at><entry><content>content_yh81p20207</content></entry></data>

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

2022-02-23 21:33:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0df17989-27d5-4b76-9455-342abf669304</value></item-id></result>

2022-02-23 21:33:52 | contains: true

2022-02-23 21:34:00 | [Mutex] waiting for: [user_regular90jdhb0202@test-domain.com:message:received:content_yh81p20207]

2022-02-23 21:34:00 | [Mutex] waiting for: [user_regular90jdhb0202@test-domain.com:message:received:content_yh81p20207]

2022-02-23 21:34:00 | [Mutex] waiting for: [user_regular90jdhb0202@test-domain.com:message:received:content_yh81p20207]

2022-02-23 21:34:15 | [Mutex] timeout. Not received [user_regular90jdhb0202@test-domain.com:message:received:content_yh81p20207]

2022-02-23 21:34:15 | [Mutex] received everything.

2022-02-23 21:34:15 | [Mutex] isItemNotified: user_regular90jdhb0202@test-domain.com:message:received:content_yh81p20207 :: false

2022-02-23 21:34:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yh81p20207 :: true