Generated by TestNG with ReportNG at 22:36 PDT on Tuesday 24 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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.007s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.670s
2022-05-24 22:48:54 |

2022-05-24 22:48:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-24 22:48:54 | ------------------------------------

2022-05-24 22:48:54 | [Mutex] isItemNotified: node_ow59vb0167:exists :: false

2022-05-24 22:48:54 | [Mutex] waiting for: [node_ow59vb0167:create_node]

2022-05-24 22:48:54 | [Mutex] received everything.

2022-05-24 22:48:54 | [Mutex] isItemNotified: node_ow59vb0167:create_node:success :: true

2022-05-24 22:48:54 | [Mutex] waiting for: [node_ow59vb0167:subscribe_node]

2022-05-24 22:48:54 | [Mutex] received everything.

2022-05-24 22:48:54 | [Mutex] isItemNotified: node_ow59vb0167:subscribe_node:success :: true

2022-05-24 22:48:54 |


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


2022-05-24 22:48:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 22:48:54 | command: <data><node>node_ow59vb0167</node><entry><content>content_p3cdnu0168</content></entry></data>

2022-05-24 22:48:54 | target: http://localhost:8088

2022-05-24 22:48:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-24 22:48:54 | entity: <data><node>node_ow59vb0167</node><entry><content>content_p3cdnu0168</content></entry></data>

2022-05-24 22:48:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:48:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 22:48:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>188816b5-e2be-429b-afab-68415bf64a36</value></item-id></result>

2022-05-24 22:48:54 | contains: true

2022-05-24 22:48:54 | [Mutex] received everything.

2022-05-24 22:48:54 | [Mutex] isItemNotified: user_regularwdc3e20166@test-domain.com:message:received:content_p3cdnu0168 :: true

2022-05-24 22:48:54 |


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


2022-05-24 22:48:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 22:48:54 | command: <data><node>node_ow59vb0167</node><expire-at>2022-05-25T05:48:49Z</expire-at><entry><content>content_sqfvlt0169</content></entry></data>

2022-05-24 22:48:54 | target: http://localhost:8088

2022-05-24 22:48:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-24 22:48:54 | entity: <data><node>node_ow59vb0167</node><expire-at>2022-05-25T05:48:49Z</expire-at><entry><content>content_sqfvlt0169</content></entry></data>

2022-05-24 22:48:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:48:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 22:48:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e4173233-344f-4bcd-ba11-76fdee7c79ca</value></item-id></result>

2022-05-24 22:48:54 | contains: true

2022-05-24 22:48:54 | [Mutex] waiting for: [user_regularwdc3e20166@test-domain.com:message:received:content_sqfvlt0169]

2022-05-24 22:49:09 | [Mutex] timeout. Not received [user_regularwdc3e20166@test-domain.com:message:received:content_sqfvlt0169]

2022-05-24 22:49:09 | [Mutex] isItemNotified: user_regularwdc3e20166@test-domain.com:message:received:content_sqfvlt0169 :: false

2022-05-24 22:49:09 |


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


2022-05-24 22:49:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 22:49:09 | command: <data><node>node_ow59vb0167</node><entry><content>content_uv4squ0170</content></entry></data>

2022-05-24 22:49:09 | target: http://localhost:8088

2022-05-24 22:49:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-24 22:49:09 | entity: <data><node>node_ow59vb0167</node><entry><content>content_uv4squ0170</content></entry></data>

2022-05-24 22:49:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:49:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 22:49:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d86c4fec-86d9-413c-af2e-d709cde5ef28</value></item-id></result>

2022-05-24 22:49:09 | contains: true

2022-05-24 22:49:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-24 22:49:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=425 thread=1] DNS entry stored in session object: localhost:5222

2022-05-24 22:49:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=425 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-24 22:49:15 | [Mutex] waiting for: [user_regularwdc3e20166@test-domain.com:message:received:content_uv4squ0170]

2022-05-24 22:49:15 | [Mutex] waiting for: [user_regularwdc3e20166@test-domain.com:message:received:content_uv4squ0170]

2022-05-24 22:49:15 | [Mutex] received everything.

2022-05-24 22:49:15 | [Mutex] isItemNotified: user_regularwdc3e20166@test-domain.com:message:received:content_uv4squ0170 :: true

2022-05-24 22:49:15 |


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


2022-05-24 22:49:15 | [Mutex] received everything.

2022-05-24 22:49:15 | [Mutex] isItemNotified: node_ow59vb0167:subscribe_node:success :: true

2022-05-24 22:49:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 22:49:15 | command: <data><node>node_ow59vb0167</node><expire-at>2022-05-25T05:49:20Z</expire-at><entry><content>content_1yjz7n0171</content></entry></data>

2022-05-24 22:49:15 | target: http://localhost:8088

2022-05-24 22:49:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-24 22:49:15 | entity: <data><node>node_ow59vb0167</node><expire-at>2022-05-25T05:49:20Z</expire-at><entry><content>content_1yjz7n0171</content></entry></data>

2022-05-24 22:49:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:49:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 22:49:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>33532bf6-4cdf-4099-9cf0-e434af3c9171</value></item-id></result>

2022-05-24 22:49:15 | contains: true

2022-05-24 22:49:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-24 22:49:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=426 thread=1] DNS entry stored in session object: localhost:5222

2022-05-24 22:49:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=426 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-24 22:49:23 | [Mutex] waiting for: [user_regularwdc3e20166@test-domain.com:message:received:content_1yjz7n0171]

2022-05-24 22:49:23 | [Mutex] waiting for: [user_regularwdc3e20166@test-domain.com:message:received:content_1yjz7n0171]

2022-05-24 22:49:38 | [Mutex] timeout. Not received [user_regularwdc3e20166@test-domain.com:message:received:content_1yjz7n0171]

2022-05-24 22:49:38 | [Mutex] received everything.

2022-05-24 22:49:38 | [Mutex] isItemNotified: user_regularwdc3e20166@test-domain.com:message:received:content_1yjz7n0171 :: false

2022-05-24 22:49:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1yjz7n0171 :: true