Generated by TestNG with ReportNG at 22:14 PDT on Thursday 24 June 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 : 45.478s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.672s
2021-06-24 22:28:49 |

2021-06-24 22:28:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-24 22:28:49 | ------------------------------------

2021-06-24 22:28:49 | [Mutex] isItemNotified: node_tpipe0203:exists :: false

2021-06-24 22:28:49 | [Mutex] waiting for: [node_tpipe0203:create_node]

2021-06-24 22:28:49 | [Mutex] received everything.

2021-06-24 22:28:49 | [Mutex] isItemNotified: node_tpipe0203:create_node:success :: true

2021-06-24 22:28:49 | [Mutex] waiting for: [node_tpipe0203:subscribe_node]

2021-06-24 22:28:49 | [Mutex] received everything.

2021-06-24 22:28:49 | [Mutex] isItemNotified: node_tpipe0203:subscribe_node:success :: true

2021-06-24 22:28:49 |


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


2021-06-24 22:28:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-24 22:28:49 | command: <data><node>node_tpipe0203</node><entry><content>content_ekhd0f0204</content></entry></data>

2021-06-24 22:28:49 | target: http://localhost:8088

2021-06-24 22:28:49 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-06-24 22:28:49 | entity: <data><node>node_tpipe0203</node><entry><content>content_ekhd0f0204</content></entry></data>

2021-06-24 22:28:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:28:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-24 22:28:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8def9275-05d3-4a1b-ad67-fd9a1849781a</value></item-id></result>

2021-06-24 22:28:49 | contains: true

2021-06-24 22:28:49 | [Mutex] received everything.

2021-06-24 22:28:49 | [Mutex] isItemNotified: user_regularyl9ftu0202@test-domain.com:message:received:content_ekhd0f0204 :: true

2021-06-24 22:28:49 |


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


2021-06-24 22:28:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-24 22:28:49 | command: <data><node>node_tpipe0203</node><expire-at>2021-06-25T05:28:44Z</expire-at><entry><content>content_w6784e0205</content></entry></data>

2021-06-24 22:28:49 | target: http://localhost:8088

2021-06-24 22:28:49 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-06-24 22:28:49 | entity: <data><node>node_tpipe0203</node><expire-at>2021-06-25T05:28:44Z</expire-at><entry><content>content_w6784e0205</content></entry></data>

2021-06-24 22:28:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:28:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-24 22:28:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1b677c32-fdf8-4134-a001-2bbdce3dffb5</value></item-id></result>

2021-06-24 22:28:49 | contains: true

2021-06-24 22:28:49 | [Mutex] waiting for: [user_regularyl9ftu0202@test-domain.com:message:received:content_w6784e0205]

2021-06-24 22:29:04 | [Mutex] timeout. Not received [user_regularyl9ftu0202@test-domain.com:message:received:content_w6784e0205]

2021-06-24 22:29:04 | [Mutex] isItemNotified: user_regularyl9ftu0202@test-domain.com:message:received:content_w6784e0205 :: false

2021-06-24 22:29:04 |


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


2021-06-24 22:29:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-24 22:29:04 | command: <data><node>node_tpipe0203</node><entry><content>content_xws9ag0206</content></entry></data>

2021-06-24 22:29:04 | target: http://localhost:8088

2021-06-24 22:29:04 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-06-24 22:29:04 | entity: <data><node>node_tpipe0203</node><entry><content>content_xws9ag0206</content></entry></data>

2021-06-24 22:29:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:29:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-24 22:29:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b02e5a3a-394e-4629-b4a2-b41917e397db</value></item-id></result>

2021-06-24 22:29:04 | contains: true

2021-06-24 22:29:09 | [Mutex] waiting for: [user_regularyl9ftu0202@test-domain.com:message:received:content_xws9ag0206]

2021-06-24 22:29:09 | [Mutex] received everything.

2021-06-24 22:29:09 | [Mutex] isItemNotified: user_regularyl9ftu0202@test-domain.com:message:received:content_xws9ag0206 :: true

2021-06-24 22:29:09 |


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


2021-06-24 22:29:09 | [Mutex] received everything.

2021-06-24 22:29:09 | [Mutex] isItemNotified: node_tpipe0203:subscribe_node:success :: true

2021-06-24 22:29:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-24 22:29:09 | command: <data><node>node_tpipe0203</node><expire-at>2021-06-25T05:29:14Z</expire-at><entry><content>content_gkozkh0207</content></entry></data>

2021-06-24 22:29:09 | target: http://localhost:8088

2021-06-24 22:29:09 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-06-24 22:29:09 | entity: <data><node>node_tpipe0203</node><expire-at>2021-06-25T05:29:14Z</expire-at><entry><content>content_gkozkh0207</content></entry></data>

2021-06-24 22:29:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:29:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-24 22:29:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f3e05325-8c14-4b57-b99e-74b0f18c8d8c</value></item-id></result>

2021-06-24 22:29:09 | contains: true

2021-06-24 22:29:17 | [Mutex] waiting for: [user_regularyl9ftu0202@test-domain.com:message:received:content_gkozkh0207]

2021-06-24 22:29:18 | [Mutex] waiting for: [user_regularyl9ftu0202@test-domain.com:message:received:content_gkozkh0207]

2021-06-24 22:29:32 | [Mutex] timeout. Not received [user_regularyl9ftu0202@test-domain.com:message:received:content_gkozkh0207]

2021-06-24 22:29:32 | [Mutex] received everything.

2021-06-24 22:29:32 | [Mutex] isItemNotified: user_regularyl9ftu0202@test-domain.com:message:received:content_gkozkh0207 :: false

2021-06-24 22:29:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gkozkh0207 :: true