Generated by TestNG with ReportNG at 22:46 PDT on Tuesday 12 July 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.528s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.589s
2022-07-12 23:00:43 |

2022-07-12 23:00:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-12 23:00:43 | ------------------------------------

2022-07-12 23:00:43 | [Mutex] isItemNotified: node_hbet610204:exists :: false

2022-07-12 23:00:43 | [Mutex] waiting for: [node_hbet610204:create_node]

2022-07-12 23:00:43 | [Mutex] received everything.

2022-07-12 23:00:43 | [Mutex] isItemNotified: node_hbet610204:create_node:success :: true

2022-07-12 23:00:43 | [Mutex] waiting for: [node_hbet610204:subscribe_node]

2022-07-12 23:00:43 | [Mutex] received everything.

2022-07-12 23:00:43 | [Mutex] isItemNotified: node_hbet610204:subscribe_node:success :: true

2022-07-12 23:00:43 |


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


2022-07-12 23:00:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 23:00:43 | command: <data><node>node_hbet610204</node><entry><content>content_6qngzw0205</content></entry></data>

2022-07-12 23:00:43 | target: http://localhost:8088

2022-07-12 23:00:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 23:00:43 | entity: <data><node>node_hbet610204</node><entry><content>content_6qngzw0205</content></entry></data>

2022-07-12 23:00:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 06:00:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 23:00:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4adf8b1e-05f3-4558-92b0-948cd069f66c</value></item-id></result>

2022-07-12 23:00:43 | contains: true

2022-07-12 23:00:43 | [Mutex] received everything.

2022-07-12 23:00:43 | [Mutex] isItemNotified: user_regulary7l2wd0203@test-domain.com:message:received:content_6qngzw0205 :: true

2022-07-12 23:00:43 |


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


2022-07-12 23:00:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 23:00:43 | command: <data><node>node_hbet610204</node><expire-at>2022-07-13T06:00:38Z</expire-at><entry><content>content_9axdzv0206</content></entry></data>

2022-07-12 23:00:43 | target: http://localhost:8088

2022-07-12 23:00:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 23:00:43 | entity: <data><node>node_hbet610204</node><expire-at>2022-07-13T06:00:38Z</expire-at><entry><content>content_9axdzv0206</content></entry></data>

2022-07-12 23:00:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 06:00:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 23:00:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>953c0f7f-884a-4028-8934-95b47b927a22</value></item-id></result>

2022-07-12 23:00:43 | contains: true

2022-07-12 23:00:43 | [Mutex] waiting for: [user_regulary7l2wd0203@test-domain.com:message:received:content_9axdzv0206]

2022-07-12 23:00:58 | [Mutex] timeout. Not received [user_regulary7l2wd0203@test-domain.com:message:received:content_9axdzv0206]

2022-07-12 23:00:58 | [Mutex] isItemNotified: user_regulary7l2wd0203@test-domain.com:message:received:content_9axdzv0206 :: false

2022-07-12 23:00:58 |


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


2022-07-12 23:00:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 23:00:58 | command: <data><node>node_hbet610204</node><entry><content>content_jndsy80207</content></entry></data>

2022-07-12 23:00:58 | target: http://localhost:8088

2022-07-12 23:00:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 23:00:58 | entity: <data><node>node_hbet610204</node><entry><content>content_jndsy80207</content></entry></data>

2022-07-12 23:00:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 06:00:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 23:00:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cb8a32a8-19b9-4169-afb6-8e1b8cfad4be</value></item-id></result>

2022-07-12 23:00:58 | contains: true

2022-07-12 23:01:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 23:01:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 23:01:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 23:01:03 | [Mutex] waiting for: [user_regulary7l2wd0203@test-domain.com:message:received:content_jndsy80207]

2022-07-12 23:01:03 | [Mutex] received everything.

2022-07-12 23:01:03 | [Mutex] isItemNotified: user_regulary7l2wd0203@test-domain.com:message:received:content_jndsy80207 :: true

2022-07-12 23:01:03 |


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


2022-07-12 23:01:03 | [Mutex] received everything.

2022-07-12 23:01:03 | [Mutex] isItemNotified: node_hbet610204:subscribe_node:success :: true

2022-07-12 23:01:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 23:01:03 | command: <data><node>node_hbet610204</node><expire-at>2022-07-13T06:01:08Z</expire-at><entry><content>content_mmyii00208</content></entry></data>

2022-07-12 23:01:03 | target: http://localhost:8088

2022-07-12 23:01:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 23:01:03 | entity: <data><node>node_hbet610204</node><expire-at>2022-07-13T06:01:08Z</expire-at><entry><content>content_mmyii00208</content></entry></data>

2022-07-12 23:01:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 06:01:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 23:01:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0af1a038-01df-495a-8007-6e61236a2654</value></item-id></result>

2022-07-12 23:01:03 | contains: true

2022-07-12 23:01:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 23:01:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 23:01:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 23:01:12 | [Mutex] waiting for: [user_regulary7l2wd0203@test-domain.com:message:received:content_mmyii00208]

2022-07-12 23:01:27 | [Mutex] timeout. Not received [user_regulary7l2wd0203@test-domain.com:message:received:content_mmyii00208]

2022-07-12 23:01:27 | [Mutex] received everything.

2022-07-12 23:01:27 | [Mutex] isItemNotified: user_regulary7l2wd0203@test-domain.com:message:received:content_mmyii00208 :: false

2022-07-12 23:01:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mmyii00208 :: true