我在eviware板上問過這個問題,但還沒有收到答案。所以我會在這裏嘗試我的運氣。SoapUI:如何使用Groovy檢索表示數據
我有一個Rest服務,我正在測試,我想從代表選項卡中獲取信息,但我不知道如何和api不是最容易閱讀的。
這是我使用已經給我的錯誤是什麼:
import com.eviware.soapui.impl.rest.RestRepresentation
x = RestRepresentation.getMediaType()
log.info(x)
這是錯誤:
No Signature of Method: static com.eviware.soapui.impl.rest.RestRepresentation.getMediaType()
is applicable for argument types:() values: [] Possible solutions: getMediaType(), getMediaType(java.lang.String), getSchemaType(), getType()
我會嘗試一下,看看會發生什麼。謝謝 – lmcadory