Generated by TestNG with ReportNG at 22:32 PDT on Thursday 06 May 2021
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 : 44.949s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.637s
2021-05-06 22:47:47 |

2021-05-06 22:47:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-06 22:47:47 | ------------------------------------

2021-05-06 22:47:47 | [Mutex] isItemNotified: node_kf3s8l0203:exists :: false

2021-05-06 22:47:47 | [Mutex] waiting for: [node_kf3s8l0203:create_node]

2021-05-06 22:47:47 | [Mutex] received everything.

2021-05-06 22:47:47 | [Mutex] isItemNotified: node_kf3s8l0203:create_node:success :: true

2021-05-06 22:47:47 | [Mutex] waiting for: [node_kf3s8l0203:subscribe_node]

2021-05-06 22:47:47 | [Mutex] received everything.

2021-05-06 22:47:47 | [Mutex] isItemNotified: node_kf3s8l0203:subscribe_node:success :: true

2021-05-06 22:47:47 |


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


2021-05-06 22:47:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-06 22:47:47 | command: <data><node>node_kf3s8l0203</node><entry><content>content_br5bsg0204</content></entry></data>

2021-05-06 22:47:47 | target: http://localhost:8088

2021-05-06 22:47:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-06 22:47:47 | entity: <data><node>node_kf3s8l0203</node><entry><content>content_br5bsg0204</content></entry></data>

2021-05-06 22:47:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 05:47:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-06 22:47:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d25efae9-476a-48f3-a172-7418e5f59de5</value></item-id></result>

2021-05-06 22:47:47 | contains: true

2021-05-06 22:47:47 | [Mutex] received everything.

2021-05-06 22:47:47 | [Mutex] isItemNotified: user_regularc2jb1p0202@test-domain.com:message:received:content_br5bsg0204 :: true

2021-05-06 22:47:47 |


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


2021-05-06 22:47:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-06 22:47:47 | command: <data><node>node_kf3s8l0203</node><expire-at>2021-05-07T05:47:42Z</expire-at><entry><content>content_jcp58c0205</content></entry></data>

2021-05-06 22:47:47 | target: http://localhost:8088

2021-05-06 22:47:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-06 22:47:47 | entity: <data><node>node_kf3s8l0203</node><expire-at>2021-05-07T05:47:42Z</expire-at><entry><content>content_jcp58c0205</content></entry></data>

2021-05-06 22:47:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 05:47:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-06 22:47:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f6039033-919f-40e3-9124-8065b9ea4e9e</value></item-id></result>

2021-05-06 22:47:47 | contains: true

2021-05-06 22:47:47 | [Mutex] waiting for: [user_regularc2jb1p0202@test-domain.com:message:received:content_jcp58c0205]

2021-05-06 22:48:02 | [Mutex] timeout. Not received [user_regularc2jb1p0202@test-domain.com:message:received:content_jcp58c0205]

2021-05-06 22:48:02 | [Mutex] isItemNotified: user_regularc2jb1p0202@test-domain.com:message:received:content_jcp58c0205 :: false

2021-05-06 22:48:02 |


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


2021-05-06 22:48:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-06 22:48:02 | command: <data><node>node_kf3s8l0203</node><entry><content>content_prweb20206</content></entry></data>

2021-05-06 22:48:02 | target: http://localhost:8088

2021-05-06 22:48:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-06 22:48:02 | entity: <data><node>node_kf3s8l0203</node><entry><content>content_prweb20206</content></entry></data>

2021-05-06 22:48:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 05:48:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-06 22:48:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d2469b36-99e5-46ab-998d-339134bf3622</value></item-id></result>

2021-05-06 22:48:02 | contains: true

2021-05-06 22:48:07 | [Mutex] waiting for: [user_regularc2jb1p0202@test-domain.com:message:received:content_prweb20206]

2021-05-06 22:48:07 | [Mutex] waiting for: [user_regularc2jb1p0202@test-domain.com:message:received:content_prweb20206]

2021-05-06 22:48:07 | [Mutex] received everything.

2021-05-06 22:48:07 | [Mutex] isItemNotified: user_regularc2jb1p0202@test-domain.com:message:received:content_prweb20206 :: true

2021-05-06 22:48:07 |


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


2021-05-06 22:48:07 | [Mutex] received everything.

2021-05-06 22:48:07 | [Mutex] isItemNotified: node_kf3s8l0203:subscribe_node:success :: true

2021-05-06 22:48:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-06 22:48:07 | command: <data><node>node_kf3s8l0203</node><expire-at>2021-05-07T05:48:12Z</expire-at><entry><content>content_jf3was0207</content></entry></data>

2021-05-06 22:48:07 | target: http://localhost:8088

2021-05-06 22:48:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-06 22:48:07 | entity: <data><node>node_kf3s8l0203</node><expire-at>2021-05-07T05:48:12Z</expire-at><entry><content>content_jf3was0207</content></entry></data>

2021-05-06 22:48:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 05:48:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-06 22:48:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b81806d7-d04c-4a64-823a-3fee29e6d63d</value></item-id></result>

2021-05-06 22:48:07 | contains: true

2021-05-06 22:48:15 | [Mutex] waiting for: [user_regularc2jb1p0202@test-domain.com:message:received:content_jf3was0207]

2021-05-06 22:48:30 | [Mutex] timeout. Not received [user_regularc2jb1p0202@test-domain.com:message:received:content_jf3was0207]

2021-05-06 22:48:30 | [Mutex] received everything.

2021-05-06 22:48:30 | [Mutex] isItemNotified: user_regularc2jb1p0202@test-domain.com:message:received:content_jf3was0207 :: false

2021-05-06 22:48:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jf3was0207 :: true