Generated by TestNG with ReportNG at 21:43 PST on Sunday 03 January 2021
root@43fec6d4badf / 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.486s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.708s
2021-01-03 21:58:43 |

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

2021-01-03 21:58:43 | ------------------------------------

2021-01-03 21:58:43 | [Mutex] isItemNotified: node_ihgqpn0203:exists :: false

2021-01-03 21:58:43 | [Mutex] waiting for: [node_ihgqpn0203:create_node]

2021-01-03 21:58:43 | [Mutex] received everything.

2021-01-03 21:58:43 | [Mutex] isItemNotified: node_ihgqpn0203:create_node:success :: true

2021-01-03 21:58:43 | [Mutex] waiting for: [node_ihgqpn0203:subscribe_node]

2021-01-03 21:58:43 | [Mutex] received everything.

2021-01-03 21:58:43 | [Mutex] isItemNotified: node_ihgqpn0203:subscribe_node:success :: true

2021-01-03 21:58:43 |


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


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

2021-01-03 21:58:43 | command: <data><node>node_ihgqpn0203</node><entry><content>content_9ksal30204</content></entry></data>

2021-01-03 21:58:43 | target: http://localhost:8088

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

2021-01-03 21:58:43 | entity: <data><node>node_ihgqpn0203</node><entry><content>content_9ksal30204</content></entry></data>

2021-01-03 21:58:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:58:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-03 21:58:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0ec7b9f7-6124-47c2-9e48-8a7613d897c2</value></item-id></result>

2021-01-03 21:58:43 | contains: true

2021-01-03 21:58:43 | [Mutex] received everything.

2021-01-03 21:58:43 | [Mutex] isItemNotified: user_regular3kjutq0202@test-domain.com:message:received:content_9ksal30204 :: true

2021-01-03 21:58:43 |


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


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

2021-01-03 21:58:43 | command: <data><node>node_ihgqpn0203</node><expire-at>2021-01-04T05:58:38Z</expire-at><entry><content>content_i2pc600205</content></entry></data>

2021-01-03 21:58:43 | target: http://localhost:8088

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

2021-01-03 21:58:43 | entity: <data><node>node_ihgqpn0203</node><expire-at>2021-01-04T05:58:38Z</expire-at><entry><content>content_i2pc600205</content></entry></data>

2021-01-03 21:58:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:58:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-03 21:58:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bdc77cf2-769c-4203-b4a8-0be9dbf066d6</value></item-id></result>

2021-01-03 21:58:44 | contains: true

2021-01-03 21:58:44 | [Mutex] waiting for: [user_regular3kjutq0202@test-domain.com:message:received:content_i2pc600205]

2021-01-03 21:58:59 | [Mutex] timeout. Not received [user_regular3kjutq0202@test-domain.com:message:received:content_i2pc600205]

2021-01-03 21:58:59 | [Mutex] isItemNotified: user_regular3kjutq0202@test-domain.com:message:received:content_i2pc600205 :: false

2021-01-03 21:58:59 |


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


2021-01-03 21:58:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-03 21:58:59 | command: <data><node>node_ihgqpn0203</node><entry><content>content_7z3dcu0206</content></entry></data>

2021-01-03 21:58:59 | target: http://localhost:8088

2021-01-03 21:58:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-03 21:58:59 | entity: <data><node>node_ihgqpn0203</node><entry><content>content_7z3dcu0206</content></entry></data>

2021-01-03 21:58:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:58:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-03 21:58:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b8948126-7fa6-43e8-8a4c-e3bf4350f1f8</value></item-id></result>

2021-01-03 21:58:59 | contains: true

2021-01-03 21:59:04 | [Mutex] waiting for: [user_regular3kjutq0202@test-domain.com:message:received:content_7z3dcu0206]

2021-01-03 21:59:04 | [Mutex] waiting for: [user_regular3kjutq0202@test-domain.com:message:received:content_7z3dcu0206]

2021-01-03 21:59:04 | [Mutex] received everything.

2021-01-03 21:59:04 | [Mutex] isItemNotified: user_regular3kjutq0202@test-domain.com:message:received:content_7z3dcu0206 :: true

2021-01-03 21:59:04 |


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


2021-01-03 21:59:04 | [Mutex] received everything.

2021-01-03 21:59:04 | [Mutex] isItemNotified: node_ihgqpn0203:subscribe_node:success :: true

2021-01-03 21:59:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-03 21:59:04 | command: <data><node>node_ihgqpn0203</node><expire-at>2021-01-04T05:59:09Z</expire-at><entry><content>content_vi3d4y0207</content></entry></data>

2021-01-03 21:59:04 | target: http://localhost:8088

2021-01-03 21:59:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-03 21:59:04 | entity: <data><node>node_ihgqpn0203</node><expire-at>2021-01-04T05:59:09Z</expire-at><entry><content>content_vi3d4y0207</content></entry></data>

2021-01-03 21:59:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:59:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-03 21:59:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e2771a2f-eaff-4e0d-90f9-902b39f9a411</value></item-id></result>

2021-01-03 21:59:04 | contains: true

2021-01-03 21:59:12 | [Mutex] waiting for: [user_regular3kjutq0202@test-domain.com:message:received:content_vi3d4y0207]

2021-01-03 21:59:12 | [Mutex] waiting for: [user_regular3kjutq0202@test-domain.com:message:received:content_vi3d4y0207]

2021-01-03 21:59:12 | [Mutex] waiting for: [user_regular3kjutq0202@test-domain.com:message:received:content_vi3d4y0207]

2021-01-03 21:59:27 | [Mutex] timeout. Not received [user_regular3kjutq0202@test-domain.com:message:received:content_vi3d4y0207]

2021-01-03 21:59:27 | [Mutex] received everything.

2021-01-03 21:59:27 | [Mutex] isItemNotified: user_regular3kjutq0202@test-domain.com:message:received:content_vi3d4y0207 :: false

2021-01-03 21:59:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vi3d4y0207 :: true