Generated by TestNG with ReportNG at 22:53 PDT on Thursday 13 October 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.940s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.785s
2022-10-13 23:08:39 |

2022-10-13 23:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-10-13 23:08:39 | ------------------------------------

2022-10-13 23:08:39 | [Mutex] isItemNotified: node_rk55zq0204:exists :: false

2022-10-13 23:08:39 | [Mutex] waiting for: [node_rk55zq0204:create_node]

2022-10-13 23:08:39 | [Mutex] received everything.

2022-10-13 23:08:39 | [Mutex] isItemNotified: node_rk55zq0204:create_node:success :: true

2022-10-13 23:08:39 | [Mutex] waiting for: [node_rk55zq0204:subscribe_node]

2022-10-13 23:08:39 | [Mutex] waiting for: [node_rk55zq0204:subscribe_node]

2022-10-13 23:08:39 | [Mutex] received everything.

2022-10-13 23:08:39 | [Mutex] isItemNotified: node_rk55zq0204:subscribe_node:success :: true

2022-10-13 23:08:39 |


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


2022-10-13 23:08:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-13 23:08:39 | command: <data><node>node_rk55zq0204</node><entry><content>content_q9iwbu0205</content></entry></data>

2022-10-13 23:08:39 | target: http://localhost:8088

2022-10-13 23:08:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-13 23:08:39 | entity: <data><node>node_rk55zq0204</node><entry><content>content_q9iwbu0205</content></entry></data>

2022-10-13 23:08:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 Oct 2022 06:08:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-13 23:08:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f2fb9e51-96e6-4eca-a6a7-121cd4ca0587</value></item-id></result>

2022-10-13 23:08:39 | contains: true

2022-10-13 23:08:39 | [Mutex] received everything.

2022-10-13 23:08:39 | [Mutex] isItemNotified: user_regularz92ww50203@test-domain.com:message:received:content_q9iwbu0205 :: true

2022-10-13 23:08:39 |


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


2022-10-13 23:08:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-13 23:08:39 | command: <data><node>node_rk55zq0204</node><expire-at>2022-10-14T06:08:34Z</expire-at><entry><content>content_xhf59h0206</content></entry></data>

2022-10-13 23:08:39 | target: http://localhost:8088

2022-10-13 23:08:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-13 23:08:39 | entity: <data><node>node_rk55zq0204</node><expire-at>2022-10-14T06:08:34Z</expire-at><entry><content>content_xhf59h0206</content></entry></data>

2022-10-13 23:08:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 Oct 2022 06:08:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-13 23:08:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>85521839-af71-4c61-8b1e-5f0e486fdfb5</value></item-id></result>

2022-10-13 23:08:40 | contains: true

2022-10-13 23:08:40 | [Mutex] waiting for: [user_regularz92ww50203@test-domain.com:message:received:content_xhf59h0206]

2022-10-13 23:08:55 | [Mutex] timeout. Not received [user_regularz92ww50203@test-domain.com:message:received:content_xhf59h0206]

2022-10-13 23:08:55 | [Mutex] isItemNotified: user_regularz92ww50203@test-domain.com:message:received:content_xhf59h0206 :: false

2022-10-13 23:08:55 |


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


2022-10-13 23:08:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-13 23:08:55 | command: <data><node>node_rk55zq0204</node><entry><content>content_5da33k0207</content></entry></data>

2022-10-13 23:08:55 | target: http://localhost:8088

2022-10-13 23:08:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-13 23:08:55 | entity: <data><node>node_rk55zq0204</node><entry><content>content_5da33k0207</content></entry></data>

2022-10-13 23:08:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 Oct 2022 06:08:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-13 23:08:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d5284e3-54f7-454b-9a7c-53ce9795ce44</value></item-id></result>

2022-10-13 23:08:55 | contains: true

2022-10-13 23:09:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-10-13 23:09:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-10-13 23:09:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-13 23:09:00 | [Mutex] waiting for: [user_regularz92ww50203@test-domain.com:message:received:content_5da33k0207]

2022-10-13 23:09:00 | [Mutex] waiting for: [user_regularz92ww50203@test-domain.com:message:received:content_5da33k0207]

2022-10-13 23:09:00 | [Mutex] received everything.

2022-10-13 23:09:00 | [Mutex] isItemNotified: user_regularz92ww50203@test-domain.com:message:received:content_5da33k0207 :: true

2022-10-13 23:09:00 |


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


2022-10-13 23:09:00 | [Mutex] received everything.

2022-10-13 23:09:00 | [Mutex] isItemNotified: node_rk55zq0204:subscribe_node:success :: true

2022-10-13 23:09:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-13 23:09:00 | command: <data><node>node_rk55zq0204</node><expire-at>2022-10-14T06:09:05Z</expire-at><entry><content>content_u3jo0f0208</content></entry></data>

2022-10-13 23:09:00 | target: http://localhost:8088

2022-10-13 23:09:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-13 23:09:00 | entity: <data><node>node_rk55zq0204</node><expire-at>2022-10-14T06:09:05Z</expire-at><entry><content>content_u3jo0f0208</content></entry></data>

2022-10-13 23:09:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 Oct 2022 06:09:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-13 23:09:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1bb628af-af2e-443f-b8f4-6264b6666160</value></item-id></result>

2022-10-13 23:09:00 | contains: true

2022-10-13 23:09:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-10-13 23:09:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-10-13 23:09:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-13 23:09:08 | [Mutex] waiting for: [user_regularz92ww50203@test-domain.com:message:received:content_u3jo0f0208]

2022-10-13 23:09:08 | [Mutex] waiting for: [user_regularz92ww50203@test-domain.com:message:received:content_u3jo0f0208]

2022-10-13 23:09:23 | [Mutex] timeout. Not received [user_regularz92ww50203@test-domain.com:message:received:content_u3jo0f0208]

2022-10-13 23:09:23 | [Mutex] received everything.

2022-10-13 23:09:23 | [Mutex] isItemNotified: user_regularz92ww50203@test-domain.com:message:received:content_u3jo0f0208 :: false

2022-10-13 23:09:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u3jo0f0208 :: true