Generated by TestNG with ReportNG at 22:38 PDT on Sunday 14 August 2022
root@7c41cec37518 / 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.754s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.653s
2022-08-14 22:53:33 |

2022-08-14 22:53:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-14 22:53:33 | ------------------------------------

2022-08-14 22:53:33 | [Mutex] isItemNotified: node_st512m0204:exists :: false

2022-08-14 22:53:33 | [Mutex] waiting for: [node_st512m0204:create_node]

2022-08-14 22:53:33 | [Mutex] received everything.

2022-08-14 22:53:33 | [Mutex] isItemNotified: node_st512m0204:create_node:success :: true

2022-08-14 22:53:33 | [Mutex] waiting for: [node_st512m0204:subscribe_node]

2022-08-14 22:53:33 | [Mutex] received everything.

2022-08-14 22:53:33 | [Mutex] isItemNotified: node_st512m0204:subscribe_node:success :: true

2022-08-14 22:53:33 |


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


2022-08-14 22:53:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-14 22:53:33 | command: <data><node>node_st512m0204</node><entry><content>content_2qcv6d0205</content></entry></data>

2022-08-14 22:53:33 | target: http://localhost:8088

2022-08-14 22:53:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-14 22:53:33 | entity: <data><node>node_st512m0204</node><entry><content>content_2qcv6d0205</content></entry></data>

2022-08-14 22:53:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:53:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-14 22:53:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5da2083c-4037-4993-aced-98db4f7d5d10</value></item-id></result>

2022-08-14 22:53:33 | contains: true

2022-08-14 22:53:33 | [Mutex] waiting for: [user_regularvpvdsp0203@test-domain.com:message:received:content_2qcv6d0205]

2022-08-14 22:53:33 | [Mutex] received everything.

2022-08-14 22:53:33 | [Mutex] isItemNotified: user_regularvpvdsp0203@test-domain.com:message:received:content_2qcv6d0205 :: true

2022-08-14 22:53:33 |


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


2022-08-14 22:53:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-14 22:53:33 | command: <data><node>node_st512m0204</node><expire-at>2022-08-15T05:53:28Z</expire-at><entry><content>content_agiguv0206</content></entry></data>

2022-08-14 22:53:33 | target: http://localhost:8088

2022-08-14 22:53:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-14 22:53:33 | entity: <data><node>node_st512m0204</node><expire-at>2022-08-15T05:53:28Z</expire-at><entry><content>content_agiguv0206</content></entry></data>

2022-08-14 22:53:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:53:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-14 22:53:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0556f9b1-f70f-410b-895c-7a226c1e806c</value></item-id></result>

2022-08-14 22:53:33 | contains: true

2022-08-14 22:53:33 | [Mutex] waiting for: [user_regularvpvdsp0203@test-domain.com:message:received:content_agiguv0206]

2022-08-14 22:53:48 | [Mutex] timeout. Not received [user_regularvpvdsp0203@test-domain.com:message:received:content_agiguv0206]

2022-08-14 22:53:48 | [Mutex] isItemNotified: user_regularvpvdsp0203@test-domain.com:message:received:content_agiguv0206 :: false

2022-08-14 22:53:48 |


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


2022-08-14 22:53:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-14 22:53:48 | command: <data><node>node_st512m0204</node><entry><content>content_obylxr0207</content></entry></data>

2022-08-14 22:53:48 | target: http://localhost:8088

2022-08-14 22:53:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-14 22:53:48 | entity: <data><node>node_st512m0204</node><entry><content>content_obylxr0207</content></entry></data>

2022-08-14 22:53:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:53:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-14 22:53:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d81e8b75-33b4-4e42-a18e-cf4099c7f2cd</value></item-id></result>

2022-08-14 22:53:48 | contains: true

2022-08-14 22:53:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-14 22:53:53 | [Mutex] waiting for: [user_regularvpvdsp0203@test-domain.com:message:received:content_obylxr0207]

2022-08-14 22:53:53 | [Mutex] waiting for: [user_regularvpvdsp0203@test-domain.com:message:received:content_obylxr0207]

2022-08-14 22:53:53 | [Mutex] received everything.

2022-08-14 22:53:53 | [Mutex] isItemNotified: user_regularvpvdsp0203@test-domain.com:message:received:content_obylxr0207 :: true

2022-08-14 22:53:53 |


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


2022-08-14 22:53:53 | [Mutex] received everything.

2022-08-14 22:53:53 | [Mutex] isItemNotified: node_st512m0204:subscribe_node:success :: true

2022-08-14 22:53:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-14 22:53:53 | command: <data><node>node_st512m0204</node><expire-at>2022-08-15T05:53:58Z</expire-at><entry><content>content_wvepm20208</content></entry></data>

2022-08-14 22:53:53 | target: http://localhost:8088

2022-08-14 22:53:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-14 22:53:53 | entity: <data><node>node_st512m0204</node><expire-at>2022-08-15T05:53:58Z</expire-at><entry><content>content_wvepm20208</content></entry></data>

2022-08-14 22:53:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:53:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-14 22:53:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>04ce7709-1efd-4f24-97ea-5f4d08fa7bb0</value></item-id></result>

2022-08-14 22:53:53 | contains: true

2022-08-14 22:54:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-14 22:54:01 | [Mutex] waiting for: [user_regularvpvdsp0203@test-domain.com:message:received:content_wvepm20208]

2022-08-14 22:54:16 | [Mutex] timeout. Not received [user_regularvpvdsp0203@test-domain.com:message:received:content_wvepm20208]

2022-08-14 22:54:16 | [Mutex] received everything.

2022-08-14 22:54:16 | [Mutex] isItemNotified: user_regularvpvdsp0203@test-domain.com:message:received:content_wvepm20208 :: false

2022-08-14 22:54:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wvepm20208 :: true