Generated by TestNG with ReportNG at 21:28 PST on Thursday 14 January 2021
root@eaa73862192b / 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.427s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.796s
2021-01-14 21:43:07 |

2021-01-14 21:43:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-14 21:43:07 | ------------------------------------

2021-01-14 21:43:07 | [Mutex] isItemNotified: node_9ue0yv0203:exists :: false

2021-01-14 21:43:07 | [Mutex] waiting for: [node_9ue0yv0203:create_node]

2021-01-14 21:43:07 | [Mutex] received everything.

2021-01-14 21:43:07 | [Mutex] isItemNotified: node_9ue0yv0203:create_node:success :: true

2021-01-14 21:43:07 | [Mutex] waiting for: [node_9ue0yv0203:subscribe_node]

2021-01-14 21:43:07 | [Mutex] waiting for: [node_9ue0yv0203:subscribe_node]

2021-01-14 21:43:07 | [Mutex] received everything.

2021-01-14 21:43:07 | [Mutex] isItemNotified: node_9ue0yv0203:subscribe_node:success :: true

2021-01-14 21:43:07 |


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


2021-01-14 21:43:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 21:43:07 | command: <data><node>node_9ue0yv0203</node><entry><content>content_hiy7e00204</content></entry></data>

2021-01-14 21:43:07 | target: http://localhost:8088

2021-01-14 21:43:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-14 21:43:07 | entity: <data><node>node_9ue0yv0203</node><entry><content>content_hiy7e00204</content></entry></data>

2021-01-14 21:43:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 05:43:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 21:43:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e5fbc3d5-1d0f-4008-8ca3-80fc5cf70d6a</value></item-id></result>

2021-01-14 21:43:07 | contains: true

2021-01-14 21:43:07 | [Mutex] waiting for: [user_regularlbni880202@test-domain.com:message:received:content_hiy7e00204]

2021-01-14 21:43:07 | [Mutex] received everything.

2021-01-14 21:43:07 | [Mutex] isItemNotified: user_regularlbni880202@test-domain.com:message:received:content_hiy7e00204 :: true

2021-01-14 21:43:07 |


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


2021-01-14 21:43:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 21:43:07 | command: <data><node>node_9ue0yv0203</node><expire-at>2021-01-15T05:43:02Z</expire-at><entry><content>content_k7xf290205</content></entry></data>

2021-01-14 21:43:07 | target: http://localhost:8088

2021-01-14 21:43:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-14 21:43:07 | entity: <data><node>node_9ue0yv0203</node><expire-at>2021-01-15T05:43:02Z</expire-at><entry><content>content_k7xf290205</content></entry></data>

2021-01-14 21:43:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 05:43:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 21:43:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bfadec99-4af2-4707-a4b0-8edb3ed4ae0b</value></item-id></result>

2021-01-14 21:43:08 | contains: true

2021-01-14 21:43:08 | [Mutex] waiting for: [user_regularlbni880202@test-domain.com:message:received:content_k7xf290205]

2021-01-14 21:43:23 | [Mutex] timeout. Not received [user_regularlbni880202@test-domain.com:message:received:content_k7xf290205]

2021-01-14 21:43:23 | [Mutex] isItemNotified: user_regularlbni880202@test-domain.com:message:received:content_k7xf290205 :: false

2021-01-14 21:43:23 |


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


2021-01-14 21:43:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 21:43:23 | command: <data><node>node_9ue0yv0203</node><entry><content>content_v0cnwk0206</content></entry></data>

2021-01-14 21:43:23 | target: http://localhost:8088

2021-01-14 21:43:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-14 21:43:23 | entity: <data><node>node_9ue0yv0203</node><entry><content>content_v0cnwk0206</content></entry></data>

2021-01-14 21:43:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 05:43:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 21:43:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2503e350-79b3-4e4c-9f60-dd92806d7ff4</value></item-id></result>

2021-01-14 21:43:23 | contains: true

2021-01-14 21:43:28 | [Mutex] waiting for: [user_regularlbni880202@test-domain.com:message:received:content_v0cnwk0206]

2021-01-14 21:43:28 | [Mutex] received everything.

2021-01-14 21:43:28 | [Mutex] isItemNotified: user_regularlbni880202@test-domain.com:message:received:content_v0cnwk0206 :: true

2021-01-14 21:43:28 |


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


2021-01-14 21:43:28 | [Mutex] received everything.

2021-01-14 21:43:28 | [Mutex] isItemNotified: node_9ue0yv0203:subscribe_node:success :: true

2021-01-14 21:43:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 21:43:28 | command: <data><node>node_9ue0yv0203</node><expire-at>2021-01-15T05:43:33Z</expire-at><entry><content>content_mcait30207</content></entry></data>

2021-01-14 21:43:28 | target: http://localhost:8088

2021-01-14 21:43:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-14 21:43:28 | entity: <data><node>node_9ue0yv0203</node><expire-at>2021-01-15T05:43:33Z</expire-at><entry><content>content_mcait30207</content></entry></data>

2021-01-14 21:43:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 05:43:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 21:43:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1f1351e4-b87d-4e39-a3ca-994539238eda</value></item-id></result>

2021-01-14 21:43:28 | contains: true

2021-01-14 21:43:36 | [Mutex] waiting for: [user_regularlbni880202@test-domain.com:message:received:content_mcait30207]

2021-01-14 21:43:36 | [Mutex] waiting for: [user_regularlbni880202@test-domain.com:message:received:content_mcait30207]

2021-01-14 21:43:51 | [Mutex] timeout. Not received [user_regularlbni880202@test-domain.com:message:received:content_mcait30207]

2021-01-14 21:43:51 | [Mutex] received everything.

2021-01-14 21:43:51 | [Mutex] isItemNotified: user_regularlbni880202@test-domain.com:message:received:content_mcait30207 :: false

2021-01-14 21:43:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mcait30207 :: true