Generated by TestNG with ReportNG at 22:14 PDT on Saturday 18 March 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.738s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.623s
2023-03-18 22:29:36 |

2023-03-18 22:29:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-18 22:29:36 | ------------------------------------

2023-03-18 22:29:36 | [Mutex] isItemNotified: node_gvfee50208:exists :: false

2023-03-18 22:29:36 | [Mutex] waiting for: [node_gvfee50208:create_node]

2023-03-18 22:29:36 | [Mutex] waiting for: [node_gvfee50208:create_node]

2023-03-18 22:29:36 | [Mutex] received everything.

2023-03-18 22:29:36 | [Mutex] isItemNotified: node_gvfee50208:create_node:success :: true

2023-03-18 22:29:36 | [Mutex] waiting for: [node_gvfee50208:subscribe_node]

2023-03-18 22:29:36 | [Mutex] waiting for: [node_gvfee50208:subscribe_node]

2023-03-18 22:29:36 | [Mutex] received everything.

2023-03-18 22:29:36 | [Mutex] isItemNotified: node_gvfee50208:subscribe_node:success :: true

2023-03-18 22:29:36 |


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


2023-03-18 22:29:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-18 22:29:36 | command: <data><node>node_gvfee50208</node><entry><content>content_y8ho5r0209</content></entry></data>

2023-03-18 22:29:36 | target: http://localhost:8088

2023-03-18 22:29:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-18 22:29:36 | entity: <data><node>node_gvfee50208</node><entry><content>content_y8ho5r0209</content></entry></data>

2023-03-18 22:29:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:29:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-18 22:29:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>88e3d9fd-8e63-49ec-9322-5345116fbbcd</value></item-id></result>

2023-03-18 22:29:36 | contains: true

2023-03-18 22:29:36 | [Mutex] received everything.

2023-03-18 22:29:36 | [Mutex] isItemNotified: user_regular9z9gts0207@test-domain.com:message:received:content_y8ho5r0209 :: true

2023-03-18 22:29:36 |


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


2023-03-18 22:29:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-18 22:29:36 | command: <data><node>node_gvfee50208</node><expire-at>2023-03-19T05:29:31Z</expire-at><entry><content>content_hf1p1n0210</content></entry></data>

2023-03-18 22:29:36 | target: http://localhost:8088

2023-03-18 22:29:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-18 22:29:36 | entity: <data><node>node_gvfee50208</node><expire-at>2023-03-19T05:29:31Z</expire-at><entry><content>content_hf1p1n0210</content></entry></data>

2023-03-18 22:29:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:29:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-18 22:29:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1a17f268-11aa-413a-be1e-e35fd3e65bad</value></item-id></result>

2023-03-18 22:29:36 | contains: true

2023-03-18 22:29:36 | [Mutex] waiting for: [user_regular9z9gts0207@test-domain.com:message:received:content_hf1p1n0210]

2023-03-18 22:29:51 | [Mutex] timeout. Not received [user_regular9z9gts0207@test-domain.com:message:received:content_hf1p1n0210]

2023-03-18 22:29:51 | [Mutex] isItemNotified: user_regular9z9gts0207@test-domain.com:message:received:content_hf1p1n0210 :: false

2023-03-18 22:29:51 |


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


2023-03-18 22:29:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-18 22:29:51 | command: <data><node>node_gvfee50208</node><entry><content>content_fyljl70211</content></entry></data>

2023-03-18 22:29:51 | target: http://localhost:8088

2023-03-18 22:29:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-18 22:29:51 | entity: <data><node>node_gvfee50208</node><entry><content>content_fyljl70211</content></entry></data>

2023-03-18 22:29:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:29:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-18 22:29:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>efd2ecfe-7c8d-4543-a830-3de7782a1549</value></item-id></result>

2023-03-18 22:29:51 | contains: true

2023-03-18 22:29:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-18 22:29:56 | [Mutex] waiting for: [user_regular9z9gts0207@test-domain.com:message:received:content_fyljl70211]

2023-03-18 22:29:56 | [Mutex] waiting for: [user_regular9z9gts0207@test-domain.com:message:received:content_fyljl70211]

2023-03-18 22:29:56 | [Mutex] received everything.

2023-03-18 22:29:56 | [Mutex] isItemNotified: user_regular9z9gts0207@test-domain.com:message:received:content_fyljl70211 :: true

2023-03-18 22:29:56 |


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


2023-03-18 22:29:56 | [Mutex] received everything.

2023-03-18 22:29:56 | [Mutex] isItemNotified: node_gvfee50208:subscribe_node:success :: true

2023-03-18 22:29:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-18 22:29:56 | command: <data><node>node_gvfee50208</node><expire-at>2023-03-19T05:30:01Z</expire-at><entry><content>content_yy1o4c0212</content></entry></data>

2023-03-18 22:29:56 | target: http://localhost:8088

2023-03-18 22:29:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-18 22:29:56 | entity: <data><node>node_gvfee50208</node><expire-at>2023-03-19T05:30:01Z</expire-at><entry><content>content_yy1o4c0212</content></entry></data>

2023-03-18 22:29:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:29:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-18 22:29:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>52f7965d-630e-4d5f-9ed1-cb08d5a5eae4</value></item-id></result>

2023-03-18 22:29:56 | contains: true

2023-03-18 22:30:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-18 22:30:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-18 22:30:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-18 22:30:04 | [Mutex] waiting for: [user_regular9z9gts0207@test-domain.com:message:received:content_yy1o4c0212]

2023-03-18 22:30:19 | [Mutex] timeout. Not received [user_regular9z9gts0207@test-domain.com:message:received:content_yy1o4c0212]

2023-03-18 22:30:19 | [Mutex] received everything.

2023-03-18 22:30:19 | [Mutex] isItemNotified: user_regular9z9gts0207@test-domain.com:message:received:content_yy1o4c0212 :: false

2023-03-18 22:30:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yy1o4c0212 :: true