Generated by TestNG with ReportNG at 22:20 PDT on Sunday 18 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.529s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.606s
2022-09-18 22:35:36 |

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

2022-09-18 22:35:36 | ------------------------------------

2022-09-18 22:35:36 | [Mutex] isItemNotified: node_agf3kr0204:exists :: false

2022-09-18 22:35:36 | [Mutex] waiting for: [node_agf3kr0204:create_node]

2022-09-18 22:35:36 | [Mutex] waiting for: [node_agf3kr0204:create_node]

2022-09-18 22:35:36 | [Mutex] received everything.

2022-09-18 22:35:36 | [Mutex] isItemNotified: node_agf3kr0204:create_node:success :: true

2022-09-18 22:35:36 | [Mutex] waiting for: [node_agf3kr0204:subscribe_node]

2022-09-18 22:35:36 | [Mutex] waiting for: [node_agf3kr0204:subscribe_node]

2022-09-18 22:35:36 | [Mutex] received everything.

2022-09-18 22:35:36 | [Mutex] isItemNotified: node_agf3kr0204:subscribe_node:success :: true

2022-09-18 22:35:36 |


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


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

2022-09-18 22:35:36 | command: <data><node>node_agf3kr0204</node><entry><content>content_pgg66d0205</content></entry></data>

2022-09-18 22:35:36 | target: http://localhost:8088

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

2022-09-18 22:35:36 | entity: <data><node>node_agf3kr0204</node><entry><content>content_pgg66d0205</content></entry></data>

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

2022-09-18 22:35:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fbf1220d-1f55-4747-a35e-44091071943f</value></item-id></result>

2022-09-18 22:35:36 | contains: true

2022-09-18 22:35:36 | [Mutex] received everything.

2022-09-18 22:35:36 | [Mutex] isItemNotified: user_regularx283vv0203@test-domain.com:message:received:content_pgg66d0205 :: true

2022-09-18 22:35:36 |


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


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

2022-09-18 22:35:36 | command: <data><node>node_agf3kr0204</node><expire-at>2022-09-19T05:35:31Z</expire-at><entry><content>content_7w5tpb0206</content></entry></data>

2022-09-18 22:35:36 | target: http://localhost:8088

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

2022-09-18 22:35:36 | entity: <data><node>node_agf3kr0204</node><expire-at>2022-09-19T05:35:31Z</expire-at><entry><content>content_7w5tpb0206</content></entry></data>

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

2022-09-18 22:35:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2c69aaac-508c-48e3-a905-fe391e75bb91</value></item-id></result>

2022-09-18 22:35:36 | contains: true

2022-09-18 22:35:36 | [Mutex] waiting for: [user_regularx283vv0203@test-domain.com:message:received:content_7w5tpb0206]

2022-09-18 22:35:51 | [Mutex] timeout. Not received [user_regularx283vv0203@test-domain.com:message:received:content_7w5tpb0206]

2022-09-18 22:35:51 | [Mutex] isItemNotified: user_regularx283vv0203@test-domain.com:message:received:content_7w5tpb0206 :: false

2022-09-18 22:35:51 |


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


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

2022-09-18 22:35:51 | command: <data><node>node_agf3kr0204</node><entry><content>content_yirowi0207</content></entry></data>

2022-09-18 22:35:51 | target: http://localhost:8088

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

2022-09-18 22:35:51 | entity: <data><node>node_agf3kr0204</node><entry><content>content_yirowi0207</content></entry></data>

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

2022-09-18 22:35:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>58699a45-82fe-4356-9f9d-70e3c7d10efb</value></item-id></result>

2022-09-18 22:35:51 | contains: true

2022-09-18 22:35:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-18 22:35:56 | [Mutex] waiting for: [user_regularx283vv0203@test-domain.com:message:received:content_yirowi0207]

2022-09-18 22:35:56 | [Mutex] waiting for: [user_regularx283vv0203@test-domain.com:message:received:content_yirowi0207]

2022-09-18 22:35:56 | [Mutex] received everything.

2022-09-18 22:35:56 | [Mutex] isItemNotified: user_regularx283vv0203@test-domain.com:message:received:content_yirowi0207 :: true

2022-09-18 22:35:56 |


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


2022-09-18 22:35:56 | [Mutex] received everything.

2022-09-18 22:35:56 | [Mutex] isItemNotified: node_agf3kr0204:subscribe_node:success :: true

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

2022-09-18 22:35:56 | command: <data><node>node_agf3kr0204</node><expire-at>2022-09-19T05:36:01Z</expire-at><entry><content>content_o33xay0208</content></entry></data>

2022-09-18 22:35:56 | target: http://localhost:8088

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

2022-09-18 22:35:56 | entity: <data><node>node_agf3kr0204</node><expire-at>2022-09-19T05:36:01Z</expire-at><entry><content>content_o33xay0208</content></entry></data>

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

2022-09-18 22:35:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b8737318-4a2b-4771-a35e-12f6c9afbc3a</value></item-id></result>

2022-09-18 22:35:56 | contains: true

2022-09-18 22:36:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-18 22:36:04 | [Mutex] waiting for: [user_regularx283vv0203@test-domain.com:message:received:content_o33xay0208]

2022-09-18 22:36:04 | [Mutex] waiting for: [user_regularx283vv0203@test-domain.com:message:received:content_o33xay0208]

2022-09-18 22:36:04 | [Mutex] waiting for: [user_regularx283vv0203@test-domain.com:message:received:content_o33xay0208]

2022-09-18 22:36:19 | [Mutex] timeout. Not received [user_regularx283vv0203@test-domain.com:message:received:content_o33xay0208]

2022-09-18 22:36:19 | [Mutex] received everything.

2022-09-18 22:36:19 | [Mutex] isItemNotified: user_regularx283vv0203@test-domain.com:message:received:content_o33xay0208 :: false

2022-09-18 22:36:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o33xay0208 :: true