Generated by TestNG with ReportNG at 22:47 PDT on Wednesday 29 March 2023
root@7c41cec37518 / 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.516s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.703s
2023-03-29 23:01:49 |

2023-03-29 23:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-29 23:01:49 | ------------------------------------

2023-03-29 23:01:49 | [Mutex] isItemNotified: node_59yf2q0208:exists :: false

2023-03-29 23:01:49 | [Mutex] waiting for: [node_59yf2q0208:create_node]

2023-03-29 23:01:49 | [Mutex] received everything.

2023-03-29 23:01:49 | [Mutex] isItemNotified: node_59yf2q0208:create_node:success :: true

2023-03-29 23:01:49 | [Mutex] waiting for: [node_59yf2q0208:subscribe_node]

2023-03-29 23:01:49 | [Mutex] waiting for: [node_59yf2q0208:subscribe_node]

2023-03-29 23:01:49 | [Mutex] received everything.

2023-03-29 23:01:49 | [Mutex] isItemNotified: node_59yf2q0208:subscribe_node:success :: true

2023-03-29 23:01:49 |


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


2023-03-29 23:01:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 23:01:49 | command: <data><node>node_59yf2q0208</node><entry><content>content_pxb5x40209</content></entry></data>

2023-03-29 23:01:49 | target: http://localhost:8088

2023-03-29 23:01:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-29 23:01:49 | entity: <data><node>node_59yf2q0208</node><entry><content>content_pxb5x40209</content></entry></data>

2023-03-29 23:01:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 06:01:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 23:01:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>da04dfdf-8932-44b1-a178-49077bc34d42</value></item-id></result>

2023-03-29 23:01:49 | contains: true

2023-03-29 23:01:49 | [Mutex] received everything.

2023-03-29 23:01:49 | [Mutex] isItemNotified: user_regularsutimu0207@test-domain.com:message:received:content_pxb5x40209 :: true

2023-03-29 23:01:49 |


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


2023-03-29 23:01:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 23:01:49 | command: <data><node>node_59yf2q0208</node><expire-at>2023-03-30T06:01:44Z</expire-at><entry><content>content_8gefw0210</content></entry></data>

2023-03-29 23:01:49 | target: http://localhost:8088

2023-03-29 23:01:49 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-03-29 23:01:49 | entity: <data><node>node_59yf2q0208</node><expire-at>2023-03-30T06:01:44Z</expire-at><entry><content>content_8gefw0210</content></entry></data>

2023-03-29 23:01:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 06:01:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 23:01:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>33abeb69-d57f-454d-b8a1-12640b09a695</value></item-id></result>

2023-03-29 23:01:49 | contains: true

2023-03-29 23:01:49 | [Mutex] waiting for: [user_regularsutimu0207@test-domain.com:message:received:content_8gefw0210]

2023-03-29 23:02:04 | [Mutex] timeout. Not received [user_regularsutimu0207@test-domain.com:message:received:content_8gefw0210]

2023-03-29 23:02:04 | [Mutex] isItemNotified: user_regularsutimu0207@test-domain.com:message:received:content_8gefw0210 :: false

2023-03-29 23:02:04 |


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


2023-03-29 23:02:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 23:02:04 | command: <data><node>node_59yf2q0208</node><entry><content>content_8lp18u0211</content></entry></data>

2023-03-29 23:02:04 | target: http://localhost:8088

2023-03-29 23:02:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-29 23:02:04 | entity: <data><node>node_59yf2q0208</node><entry><content>content_8lp18u0211</content></entry></data>

2023-03-29 23:02:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 06:02:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 23:02:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>60cf0f50-aa88-4989-b819-86e55c9d82c9</value></item-id></result>

2023-03-29 23:02:04 | contains: true

2023-03-29 23:02:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-03-29 23:02:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-29 23:02:09 | [Mutex] waiting for: [user_regularsutimu0207@test-domain.com:message:received:content_8lp18u0211]

2023-03-29 23:02:09 | [Mutex] received everything.

2023-03-29 23:02:09 | [Mutex] isItemNotified: user_regularsutimu0207@test-domain.com:message:received:content_8lp18u0211 :: true

2023-03-29 23:02:09 |


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


2023-03-29 23:02:09 | [Mutex] received everything.

2023-03-29 23:02:09 | [Mutex] isItemNotified: node_59yf2q0208:subscribe_node:success :: true

2023-03-29 23:02:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 23:02:09 | command: <data><node>node_59yf2q0208</node><expire-at>2023-03-30T06:02:14Z</expire-at><entry><content>content_v6eely0212</content></entry></data>

2023-03-29 23:02:09 | target: http://localhost:8088

2023-03-29 23:02:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-29 23:02:09 | entity: <data><node>node_59yf2q0208</node><expire-at>2023-03-30T06:02:14Z</expire-at><entry><content>content_v6eely0212</content></entry></data>

2023-03-29 23:02:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 06:02:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 23:02:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>df62ab50-9686-4812-9343-eebf3ed6c577</value></item-id></result>

2023-03-29 23:02:09 | contains: true

2023-03-29 23:02:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-29 23:02:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-29 23:02:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-29 23:02:17 | [Mutex] waiting for: [user_regularsutimu0207@test-domain.com:message:received:content_v6eely0212]

2023-03-29 23:02:17 | [Mutex] waiting for: [user_regularsutimu0207@test-domain.com:message:received:content_v6eely0212]

2023-03-29 23:02:32 | [Mutex] timeout. Not received [user_regularsutimu0207@test-domain.com:message:received:content_v6eely0212]

2023-03-29 23:02:32 | [Mutex] received everything.

2023-03-29 23:02:32 | [Mutex] isItemNotified: user_regularsutimu0207@test-domain.com:message:received:content_v6eely0212 :: false

2023-03-29 23:02:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_v6eely0212 :: true