I am trying to use println(${val1}), but its giving me errors
.exec(http(“request_40”)
.post(“https://qa.crsinc.com/userportal/trips/save”)
.headers(headers_40)
.param(""“id”"", “”"""")
.param(""“commuteDistance”"", “”"""")
.param(""“customFields[purpose]”"", “”“Visit to Everything Just A Buck”"")
.param(""“distance”"", “”“0"”")
.param(""“sequenceNum”"", “”“1"”")
.param(""“tripDay”"", “”“2013-05-01"”")
.param(""“unit”"", “”“MILES”"")
.param(""“toLocationAddress”"", “”"${toname1}""")
.param(""“toLocationClientLocationId”"", “”“1007"”")
.param(""“toLocationDataEntrySourceName”"", “”“browser”"")
.param(""“toLocationDetectedMilliseconds”"", “”“1370378418451"”")
.param(""“toEndDayStop”"", “”“false”"")
.param(""“toLocationId”"", “”“3149"”")
.param(""“toLocationIsGoogleVerified”"", “”“true”"")
.param(""“toLocationLatitude”"", “”"${toLocationLatitude1}""")
.param(""“toLocationLongitude”"", “”"${toLocationLongitude1}""")
.param(""“toLocationName”"", “”“Everything Just A Buck”"")
.param(""“toLocationPersonLocationId”"", “”“1815"”")
.param(""“fromLocationId”"", “”"${val1}""")
.param(""“fromLocationAddress”"", “”"${fromname1}""")
.param(""“fromLocationDetectedMilliseconds”"", “”“1370378418451"”")
.param(""“fromLocationIsGoogleVerified”"", “”“true”"")
.param(""“fromLocationName”"", “”“Base Location”"")
println (${val1}) <---------------- not sure if I placed this in the correct spot
)