Generated by TestNG with ReportNG at 22:18 PDT on Friday 01 July 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.954s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.668s
2022-07-01 22:33:28 |

2022-07-01 22:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-01 22:33:28 | ------------------------------------

2022-07-01 22:33:28 | [Mutex] isItemNotified: node_quppki0200:exists :: false

2022-07-01 22:33:28 | [Mutex] waiting for: [node_quppki0200:create_node]

2022-07-01 22:33:28 | [Mutex] received everything.

2022-07-01 22:33:28 | [Mutex] isItemNotified: node_quppki0200:create_node:success :: true

2022-07-01 22:33:28 | [Mutex] waiting for: [node_quppki0200:subscribe_node]

2022-07-01 22:33:28 | [Mutex] waiting for: [node_quppki0200:subscribe_node]

2022-07-01 22:33:28 | [Mutex] received everything.

2022-07-01 22:33:28 | [Mutex] isItemNotified: node_quppki0200:subscribe_node:success :: true

2022-07-01 22:33:28 |


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


2022-07-01 22:33:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-01 22:33:28 | command: <data><node>node_quppki0200</node><entry><content>content_mft6l80201</content></entry></data>

2022-07-01 22:33:28 | target: http://localhost:8088

2022-07-01 22:33:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-01 22:33:28 | entity: <data><node>node_quppki0200</node><entry><content>content_mft6l80201</content></entry></data>

2022-07-01 22:33:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 05:33:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-01 22:33:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8fab379e-1988-4365-ab10-e3880b983689</value></item-id></result>

2022-07-01 22:33:28 | contains: true

2022-07-01 22:33:28 | [Mutex] waiting for: [user_regularoezm770199@test-domain.com:message:received:content_mft6l80201]

2022-07-01 22:33:28 | [Mutex] received everything.

2022-07-01 22:33:28 | [Mutex] isItemNotified: user_regularoezm770199@test-domain.com:message:received:content_mft6l80201 :: true

2022-07-01 22:33:28 |


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


2022-07-01 22:33:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-01 22:33:28 | command: <data><node>node_quppki0200</node><expire-at>2022-07-02T05:33:23Z</expire-at><entry><content>content_t1b50r0202</content></entry></data>

2022-07-01 22:33:28 | target: http://localhost:8088

2022-07-01 22:33:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-01 22:33:28 | entity: <data><node>node_quppki0200</node><expire-at>2022-07-02T05:33:23Z</expire-at><entry><content>content_t1b50r0202</content></entry></data>

2022-07-01 22:33:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 05:33:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-01 22:33:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0f2c68f4-8ea7-45ec-96f0-5c53b6491024</value></item-id></result>

2022-07-01 22:33:28 | contains: true

2022-07-01 22:33:28 | [Mutex] waiting for: [user_regularoezm770199@test-domain.com:message:received:content_t1b50r0202]

2022-07-01 22:33:43 | [Mutex] timeout. Not received [user_regularoezm770199@test-domain.com:message:received:content_t1b50r0202]

2022-07-01 22:33:43 | [Mutex] isItemNotified: user_regularoezm770199@test-domain.com:message:received:content_t1b50r0202 :: false

2022-07-01 22:33:43 |


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


2022-07-01 22:33:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-01 22:33:43 | command: <data><node>node_quppki0200</node><entry><content>content_337lt0203</content></entry></data>

2022-07-01 22:33:43 | target: http://localhost:8088

2022-07-01 22:33:43 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-07-01 22:33:43 | entity: <data><node>node_quppki0200</node><entry><content>content_337lt0203</content></entry></data>

2022-07-01 22:33:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 05:33:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-01 22:33:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d19ee9a-3c01-4d28-9fb5-d74fbf6554b0</value></item-id></result>

2022-07-01 22:33:43 | contains: true

2022-07-01 22:33:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-01 22:33:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=478 thread=1] DNS entry stored in session object: localhost:5222

2022-07-01 22:33:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=478 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-01 22:33:48 | [Mutex] waiting for: [user_regularoezm770199@test-domain.com:message:received:content_337lt0203]

2022-07-01 22:33:48 | [Mutex] received everything.

2022-07-01 22:33:48 | [Mutex] isItemNotified: user_regularoezm770199@test-domain.com:message:received:content_337lt0203 :: true

2022-07-01 22:33:48 |


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


2022-07-01 22:33:48 | [Mutex] received everything.

2022-07-01 22:33:48 | [Mutex] isItemNotified: node_quppki0200:subscribe_node:success :: true

2022-07-01 22:33:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-01 22:33:48 | command: <data><node>node_quppki0200</node><expire-at>2022-07-02T05:33:53Z</expire-at><entry><content>content_wp6cn90204</content></entry></data>

2022-07-01 22:33:48 | target: http://localhost:8088

2022-07-01 22:33:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-01 22:33:48 | entity: <data><node>node_quppki0200</node><expire-at>2022-07-02T05:33:53Z</expire-at><entry><content>content_wp6cn90204</content></entry></data>

2022-07-01 22:33:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 05:33:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-01 22:33:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b00fe68c-d023-4267-b532-8ff953c24fc8</value></item-id></result>

2022-07-01 22:33:48 | contains: true

2022-07-01 22:33:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-01 22:33:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=479 thread=1] DNS entry stored in session object: localhost:5222

2022-07-01 22:33:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=479 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-01 22:33:56 | [Mutex] waiting for: [user_regularoezm770199@test-domain.com:message:received:content_wp6cn90204]

2022-07-01 22:33:56 | [Mutex] waiting for: [user_regularoezm770199@test-domain.com:message:received:content_wp6cn90204]

2022-07-01 22:34:11 | [Mutex] timeout. Not received [user_regularoezm770199@test-domain.com:message:received:content_wp6cn90204]

2022-07-01 22:34:11 | [Mutex] received everything.

2022-07-01 22:34:11 | [Mutex] isItemNotified: user_regularoezm770199@test-domain.com:message:received:content_wp6cn90204 :: false

2022-07-01 22:34:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wp6cn90204 :: true