Generated by TestNG with ReportNG at 22:20 PDT on Thursday 08 September 2022
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.828s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.651s
2022-09-08 22:35:19 |

2022-09-08 22:35:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-08 22:35:19 | ------------------------------------

2022-09-08 22:35:19 | [Mutex] isItemNotified: node_jzo66e0204:exists :: false

2022-09-08 22:35:19 | [Mutex] waiting for: [node_jzo66e0204:create_node]

2022-09-08 22:35:19 | [Mutex] received everything.

2022-09-08 22:35:19 | [Mutex] isItemNotified: node_jzo66e0204:create_node:success :: true

2022-09-08 22:35:19 | [Mutex] waiting for: [node_jzo66e0204:subscribe_node]

2022-09-08 22:35:19 | [Mutex] received everything.

2022-09-08 22:35:19 | [Mutex] isItemNotified: node_jzo66e0204:subscribe_node:success :: true

2022-09-08 22:35:19 |


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


2022-09-08 22:35:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-08 22:35:19 | command: <data><node>node_jzo66e0204</node><entry><content>content_z00fpy0205</content></entry></data>

2022-09-08 22:35:19 | target: http://localhost:8088

2022-09-08 22:35:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-08 22:35:19 | entity: <data><node>node_jzo66e0204</node><entry><content>content_z00fpy0205</content></entry></data>

2022-09-08 22:35:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 05:35:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-08 22:35:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>329bcd1f-7f6a-4eb1-b48e-a16762256c4a</value></item-id></result>

2022-09-08 22:35:19 | contains: true

2022-09-08 22:35:19 | [Mutex] waiting for: [user_regulardk4js70203@test-domain.com:message:received:content_z00fpy0205]

2022-09-08 22:35:19 | [Mutex] received everything.

2022-09-08 22:35:19 | [Mutex] isItemNotified: user_regulardk4js70203@test-domain.com:message:received:content_z00fpy0205 :: true

2022-09-08 22:35:19 |


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


2022-09-08 22:35:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-08 22:35:19 | command: <data><node>node_jzo66e0204</node><expire-at>2022-09-09T05:35:14Z</expire-at><entry><content>content_7ngqv30206</content></entry></data>

2022-09-08 22:35:19 | target: http://localhost:8088

2022-09-08 22:35:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-08 22:35:19 | entity: <data><node>node_jzo66e0204</node><expire-at>2022-09-09T05:35:14Z</expire-at><entry><content>content_7ngqv30206</content></entry></data>

2022-09-08 22:35:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 05:35:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-08 22:35:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cd1452ca-291b-46ae-b6f6-d813bcce1779</value></item-id></result>

2022-09-08 22:35:19 | contains: true

2022-09-08 22:35:19 | [Mutex] waiting for: [user_regulardk4js70203@test-domain.com:message:received:content_7ngqv30206]

2022-09-08 22:35:34 | [Mutex] timeout. Not received [user_regulardk4js70203@test-domain.com:message:received:content_7ngqv30206]

2022-09-08 22:35:34 | [Mutex] isItemNotified: user_regulardk4js70203@test-domain.com:message:received:content_7ngqv30206 :: false

2022-09-08 22:35:34 |


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


2022-09-08 22:35:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-08 22:35:34 | command: <data><node>node_jzo66e0204</node><entry><content>content_fuf4us0207</content></entry></data>

2022-09-08 22:35:34 | target: http://localhost:8088

2022-09-08 22:35:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-08 22:35:34 | entity: <data><node>node_jzo66e0204</node><entry><content>content_fuf4us0207</content></entry></data>

2022-09-08 22:35:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 05:35:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-08 22:35:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cfca1d92-f9c6-4fb4-9ac5-9159fc96447d</value></item-id></result>

2022-09-08 22:35:34 | contains: true

2022-09-08 22:35:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-08 22:35:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-09-08 22:35:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-08 22:35:39 | [Mutex] waiting for: [user_regulardk4js70203@test-domain.com:message:received:content_fuf4us0207]

2022-09-08 22:35:39 | [Mutex] waiting for: [user_regulardk4js70203@test-domain.com:message:received:content_fuf4us0207]

2022-09-08 22:35:39 | [Mutex] received everything.

2022-09-08 22:35:39 | [Mutex] isItemNotified: user_regulardk4js70203@test-domain.com:message:received:content_fuf4us0207 :: true

2022-09-08 22:35:39 |


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


2022-09-08 22:35:39 | [Mutex] received everything.

2022-09-08 22:35:39 | [Mutex] isItemNotified: node_jzo66e0204:subscribe_node:success :: true

2022-09-08 22:35:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-08 22:35:39 | command: <data><node>node_jzo66e0204</node><expire-at>2022-09-09T05:35:44Z</expire-at><entry><content>content_qjn90v0208</content></entry></data>

2022-09-08 22:35:39 | target: http://localhost:8088

2022-09-08 22:35:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-08 22:35:39 | entity: <data><node>node_jzo66e0204</node><expire-at>2022-09-09T05:35:44Z</expire-at><entry><content>content_qjn90v0208</content></entry></data>

2022-09-08 22:35:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 05:35:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-08 22:35:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c1dcd7d2-a140-43c8-b878-a0e76dbad43f</value></item-id></result>

2022-09-08 22:35:39 | contains: true

2022-09-08 22:35:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-09-08 22:35:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-08 22:35:47 | [Mutex] waiting for: [user_regulardk4js70203@test-domain.com:message:received:content_qjn90v0208]

2022-09-08 22:35:47 | [Mutex] waiting for: [user_regulardk4js70203@test-domain.com:message:received:content_qjn90v0208]

2022-09-08 22:36:02 | [Mutex] timeout. Not received [user_regulardk4js70203@test-domain.com:message:received:content_qjn90v0208]

2022-09-08 22:36:02 | [Mutex] received everything.

2022-09-08 22:36:02 | [Mutex] isItemNotified: user_regulardk4js70203@test-domain.com:message:received:content_qjn90v0208 :: false

2022-09-08 22:36:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qjn90v0208 :: true