Generated by TestNG with ReportNG at 05:51 PDT on Monday 24 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.604s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.653s
2022-10-24 06:19:45 |

2022-10-24 06:19:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-10-24 06:19:45 | ------------------------------------

2022-10-24 06:19:45 | [Mutex] isItemNotified: node_ls28j00204:exists :: false

2022-10-24 06:19:45 | [Mutex] waiting for: [node_ls28j00204:create_node]

2022-10-24 06:19:45 | [Mutex] waiting for: [node_ls28j00204:create_node]

2022-10-24 06:19:45 | [Mutex] received everything.

2022-10-24 06:19:45 | [Mutex] isItemNotified: node_ls28j00204:create_node:success :: true

2022-10-24 06:19:45 | [Mutex] waiting for: [node_ls28j00204:subscribe_node]

2022-10-24 06:19:45 | [Mutex] received everything.

2022-10-24 06:19:45 | [Mutex] isItemNotified: node_ls28j00204:subscribe_node:success :: true

2022-10-24 06:19:45 |


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


2022-10-24 06:19:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-24 06:19:45 | command: <data><node>node_ls28j00204</node><entry><content>content_fncuvy0205</content></entry></data>

2022-10-24 06:19:45 | target: http://localhost:8088

2022-10-24 06:19:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-24 06:19:45 | entity: <data><node>node_ls28j00204</node><entry><content>content_fncuvy0205</content></entry></data>

2022-10-24 06:19:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 13:19:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-24 06:19:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ee42eff2-3b91-4c72-84dd-6add96d0065c</value></item-id></result>

2022-10-24 06:19:45 | contains: true

2022-10-24 06:19:45 | [Mutex] received everything.

2022-10-24 06:19:45 | [Mutex] isItemNotified: user_regular83s1sl0203@test-domain.com:message:received:content_fncuvy0205 :: true

2022-10-24 06:19:45 |


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


2022-10-24 06:19:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-24 06:19:45 | command: <data><node>node_ls28j00204</node><expire-at>2022-10-24T13:19:40Z</expire-at><entry><content>content_dg27vq0206</content></entry></data>

2022-10-24 06:19:45 | target: http://localhost:8088

2022-10-24 06:19:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-24 06:19:45 | entity: <data><node>node_ls28j00204</node><expire-at>2022-10-24T13:19:40Z</expire-at><entry><content>content_dg27vq0206</content></entry></data>

2022-10-24 06:19:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 13:19:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-24 06:19:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>774ca33f-808b-44b6-a153-af83b58f4671</value></item-id></result>

2022-10-24 06:19:45 | contains: true

2022-10-24 06:19:45 | [Mutex] waiting for: [user_regular83s1sl0203@test-domain.com:message:received:content_dg27vq0206]

2022-10-24 06:20:00 | [Mutex] timeout. Not received [user_regular83s1sl0203@test-domain.com:message:received:content_dg27vq0206]

2022-10-24 06:20:00 | [Mutex] isItemNotified: user_regular83s1sl0203@test-domain.com:message:received:content_dg27vq0206 :: false

2022-10-24 06:20:00 |


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


2022-10-24 06:20:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-24 06:20:01 | command: <data><node>node_ls28j00204</node><entry><content>content_bykzrc0207</content></entry></data>

2022-10-24 06:20:01 | target: http://localhost:8088

2022-10-24 06:20:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-24 06:20:01 | entity: <data><node>node_ls28j00204</node><entry><content>content_bykzrc0207</content></entry></data>

2022-10-24 06:20:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 13:20:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-24 06:20:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>acc4219f-4611-4dcb-a43c-ad15e34320be</value></item-id></result>

2022-10-24 06:20:01 | contains: true

2022-10-24 06:20:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-10-24 06:20:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-24 06:20:06 | [Mutex] waiting for: [user_regular83s1sl0203@test-domain.com:message:received:content_bykzrc0207]

2022-10-24 06:20:06 | [Mutex] received everything.

2022-10-24 06:20:06 | [Mutex] isItemNotified: user_regular83s1sl0203@test-domain.com:message:received:content_bykzrc0207 :: true

2022-10-24 06:20:06 |


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


2022-10-24 06:20:06 | [Mutex] received everything.

2022-10-24 06:20:06 | [Mutex] isItemNotified: node_ls28j00204:subscribe_node:success :: true

2022-10-24 06:20:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-24 06:20:06 | command: <data><node>node_ls28j00204</node><expire-at>2022-10-24T13:20:11Z</expire-at><entry><content>content_nih7hl0208</content></entry></data>

2022-10-24 06:20:06 | target: http://localhost:8088

2022-10-24 06:20:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-24 06:20:06 | entity: <data><node>node_ls28j00204</node><expire-at>2022-10-24T13:20:11Z</expire-at><entry><content>content_nih7hl0208</content></entry></data>

2022-10-24 06:20:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 13:20:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-24 06:20:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a1125732-b7b2-4223-93dd-7f80b2c4ce7b</value></item-id></result>

2022-10-24 06:20:06 | contains: true

2022-10-24 06:20:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-10-24 06:20:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-10-24 06:20:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-24 06:20:14 | [Mutex] waiting for: [user_regular83s1sl0203@test-domain.com:message:received:content_nih7hl0208]

2022-10-24 06:20:14 | [Mutex] waiting for: [user_regular83s1sl0203@test-domain.com:message:received:content_nih7hl0208]

2022-10-24 06:20:29 | [Mutex] timeout. Not received [user_regular83s1sl0203@test-domain.com:message:received:content_nih7hl0208]

2022-10-24 06:20:29 | [Mutex] received everything.

2022-10-24 06:20:29 | [Mutex] isItemNotified: user_regular83s1sl0203@test-domain.com:message:received:content_nih7hl0208 :: false

2022-10-24 06:20:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nih7hl0208 :: true