Generated by TestNG with ReportNG at 21:47 PST on Monday 27 February 2023
root@f9c07ffec79b / 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.393s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.564s
2023-02-27 22:01:41 |

2023-02-27 22:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-27 22:01:41 | ------------------------------------

2023-02-27 22:01:41 | [Mutex] isItemNotified: node_iic3pz0204:exists :: false

2023-02-27 22:01:41 | [Mutex] waiting for: [node_iic3pz0204:create_node]

2023-02-27 22:01:41 | [Mutex] received everything.

2023-02-27 22:01:41 | [Mutex] isItemNotified: node_iic3pz0204:create_node:success :: true

2023-02-27 22:01:41 | [Mutex] waiting for: [node_iic3pz0204:subscribe_node]

2023-02-27 22:01:41 | [Mutex] waiting for: [node_iic3pz0204:subscribe_node]

2023-02-27 22:01:41 | [Mutex] received everything.

2023-02-27 22:01:41 | [Mutex] isItemNotified: node_iic3pz0204:subscribe_node:success :: true

2023-02-27 22:01:41 |


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


2023-02-27 22:01:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 22:01:41 | command: <data><node>node_iic3pz0204</node><entry><content>content_k4lfv70205</content></entry></data>

2023-02-27 22:01:41 | target: http://localhost:8088

2023-02-27 22:01:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-27 22:01:41 | entity: <data><node>node_iic3pz0204</node><entry><content>content_k4lfv70205</content></entry></data>

2023-02-27 22:01:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 06:01:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 22:01:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b6ab0bb4-be6a-4cfd-87a3-5a6f4680f824</value></item-id></result>

2023-02-27 22:01:41 | contains: true

2023-02-27 22:01:41 | [Mutex] waiting for: [user_regularknmbjv0203@test-domain.com:message:received:content_k4lfv70205]

2023-02-27 22:01:41 | [Mutex] received everything.

2023-02-27 22:01:41 | [Mutex] isItemNotified: user_regularknmbjv0203@test-domain.com:message:received:content_k4lfv70205 :: true

2023-02-27 22:01:41 |


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


2023-02-27 22:01:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 22:01:41 | command: <data><node>node_iic3pz0204</node><expire-at>2023-02-28T06:01:36Z</expire-at><entry><content>content_tzavur0206</content></entry></data>

2023-02-27 22:01:41 | target: http://localhost:8088

2023-02-27 22:01:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-27 22:01:41 | entity: <data><node>node_iic3pz0204</node><expire-at>2023-02-28T06:01:36Z</expire-at><entry><content>content_tzavur0206</content></entry></data>

2023-02-27 22:01:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 06:01:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 22:01:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fadfe63d-d042-4d70-9f4a-5529566394f5</value></item-id></result>

2023-02-27 22:01:41 | contains: true

2023-02-27 22:01:41 | [Mutex] waiting for: [user_regularknmbjv0203@test-domain.com:message:received:content_tzavur0206]

2023-02-27 22:01:56 | [Mutex] timeout. Not received [user_regularknmbjv0203@test-domain.com:message:received:content_tzavur0206]

2023-02-27 22:01:56 | [Mutex] isItemNotified: user_regularknmbjv0203@test-domain.com:message:received:content_tzavur0206 :: false

2023-02-27 22:01:56 |


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


2023-02-27 22:01:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 22:01:56 | command: <data><node>node_iic3pz0204</node><entry><content>content_4bqu750207</content></entry></data>

2023-02-27 22:01:56 | target: http://localhost:8088

2023-02-27 22:01:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-27 22:01:56 | entity: <data><node>node_iic3pz0204</node><entry><content>content_4bqu750207</content></entry></data>

2023-02-27 22:01:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 06:01:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 22:01:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5b8da774-3024-401c-b149-3283c509ea6c</value></item-id></result>

2023-02-27 22:01:56 | contains: true

2023-02-27 22:02:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-27 22:02:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-02-27 22:02:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-27 22:02:01 | [Mutex] waiting for: [user_regularknmbjv0203@test-domain.com:message:received:content_4bqu750207]

2023-02-27 22:02:01 | [Mutex] received everything.

2023-02-27 22:02:01 | [Mutex] isItemNotified: user_regularknmbjv0203@test-domain.com:message:received:content_4bqu750207 :: true

2023-02-27 22:02:01 |


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


2023-02-27 22:02:01 | [Mutex] received everything.

2023-02-27 22:02:01 | [Mutex] isItemNotified: node_iic3pz0204:subscribe_node:success :: true

2023-02-27 22:02:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-27 22:02:01 | command: <data><node>node_iic3pz0204</node><expire-at>2023-02-28T06:02:06Z</expire-at><entry><content>content_iy35ph0208</content></entry></data>

2023-02-27 22:02:01 | target: http://localhost:8088

2023-02-27 22:02:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-27 22:02:01 | entity: <data><node>node_iic3pz0204</node><expire-at>2023-02-28T06:02:06Z</expire-at><entry><content>content_iy35ph0208</content></entry></data>

2023-02-27 22:02:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 06:02:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-27 22:02:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>07cdb2ec-fb94-40b6-952e-817c0d4d2196</value></item-id></result>

2023-02-27 22:02:01 | contains: true

2023-02-27 22:02:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-27 22:02:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-27 22:02:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-27 22:02:10 | [Mutex] waiting for: [user_regularknmbjv0203@test-domain.com:message:received:content_iy35ph0208]

2023-02-27 22:02:25 | [Mutex] timeout. Not received [user_regularknmbjv0203@test-domain.com:message:received:content_iy35ph0208]

2023-02-27 22:02:25 | [Mutex] received everything.

2023-02-27 22:02:25 | [Mutex] isItemNotified: user_regularknmbjv0203@test-domain.com:message:received:content_iy35ph0208 :: false

2023-02-27 22:02:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_iy35ph0208 :: true